• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

foodcoops / foodsoft / 28314588628 / 1
44%
master: 43%

Build:
Build:
LAST BUILD BRANCH: bugfix/1326/article-versions-migration-reinstate-global-prices
DEFAULT BRANCH: master
Ran 28 Jun 2026 07:10AM UTC
Files 269
Run time 6s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

28 Jun 2026 07:03AM UTC coverage: 43.808% (+0.8%) from 42.995%
28314588628.1

Pull #1324

github

lentschi
Fix privilege escalation via mass assignment in workgroup update (#1323)

Foodcoop::WorkgroupsController#update passed params[:workgroup] straight
to update, and the application sets permit_all_parameters = true, so any
member of the workgroup (the action only requires membership) could send
workgroup[role_admin]=true and grant their group the global admin role,
escalating from ordinary member to site administrator.

Restrict the assignment to the fields the member edit form exposes
(name, description, user_tokens) with a strong-parameters allowlist,
matching the pattern already used in home_controller#update_profile.
Pull Request #1324: Fix privilege escalation via mass assignment in workgroup update (#1323)

2731 of 6234 relevant lines covered (43.81%)

0.65 hits per line

Source Files on job 28314588628.1
  • Tree
  • List 269
  • Changed 269
  • Source Changed 80
  • Coverage Changed 269
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 28314588628
  • 4f39f567 on github
  • Prev Job for on bugfix/workgroup-mass-assignment (#14467528194.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc