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

BacLuc / ecamp3 / 28053087868

21 Jun 2026 07:47PM UTC coverage: 35.713%. First build
28053087868

push

github

BacLuc
feat: add contributor (Helfer/in) camp role with restricted schedule moves

Ports the camp-collaboration role parts of PfadiMH/ecampv4 commit 98a5eabc1,
excluding its OIDC-only login migration (deployment infrastructure).

A 'contributor' role has member-level read/write access to camp content but
may NOT change activity/day responsibles ('Verantwortliche') nor move/retime
schedule entries. Enforced via two new voter attributes:
- CAMP_MANAGE_RESPONSIBLES guards Activity/DayResponsible POST/DELETE
- CAMP_MANAGE_SCHEDULE_ENTRIES guards ScheduleEntry PATCH

Frontend gating via campRoleMixin (canEditResponsibles / canEditSchedule,
provided to Picasso, ScheduleEntry, DialogActivityEdit/Form, CampProgram),
plus the new role in the collaborator form/list and translations in all
locales. OpenAPI role enum snapshot regenerated.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

840 of 4758 branches covered (17.65%)

Branch coverage included in aggregate %.

2 of 24 new or added lines in 6 files covered. (8.33%)

4852 of 11180 relevant lines covered (43.4%)

983.93 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

31.03
/api/src/Entity/CampCollaboration.php


Source Not Available

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