Skip to content

Volunteer teams#1950

Open
jellybob wants to merge 7 commits intomainfrom
volunteer-teams
Open

Volunteer teams#1950
jellybob wants to merge 7 commits intomainfrom
volunteer-teams

Conversation

@jellybob
Copy link
Copy Markdown
Contributor

@jellybob jellybob commented Apr 3, 2026

This ballooned somewhat, so apologies for the messy commit history. I did what I could with rebasing to make it at least more coherent than the process that got me here.

The idea here is to nest all volunteer roles under a team, which allows a few things:

  1. We can assign people as admins to a team and they get volunteer admin on all roles that team owns.
  2. The role admin index is a bit more coherent
  3. We don't have to prefix role names with their team now
  4. (Not yet implemented) We can make the choose roles/schedule filters nest roles under their team, allowing people to quickly skim over stuff they don't want to go near.

I've also moved most of the volunteer related associations (role admin in particular) to the Volunteer model where they're closer to where they'll be used. We might want to reconsider Volunteer existing at all in the future but while it does lets use it.

jellybob added 7 commits April 3, 2026 18:49
A team admin has role admin on all roles under that team, which
will hopefully make setting up things like the stage roles a bit
less arduous.
- Users with admin for roles in many teams see roles grouped
  by team.

- Users with admin for mulitple roles in the same team see no
  change.

- Users with admin for one role get redirect straight to the
  relevant page.
@jellybob jellybob requested a review from ormiret April 3, 2026 18:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant