Make quick join configurable for custom group types

Created on 25 August 2024, 8 months ago

Problem/Motivation

We used to load all roles / group types based on if -outsider is part of the name. This worked fine for a lot of the circumstances of the old group type where this was the case. Now, with the move to Group v2, oustider became a scope of the actual group role. So to make this compatible, we load all group roles, and figure out if we have a role with outsider scope that has the permission to join groups. Any group types without an outsider scope and or the join group permission we can't configure. As that means there is no group role specified that is able to quickjoin.

Steps to reproduce

Create custom group type, with outsider scoped roles, that don't have -outsider as part of the group name.

Proposed resolution

Check for scope and permission on all group roles to build up all available group types.

🐛 Bug report
Status

Needs review

Version

13.0

Component

Code (back-end)

Created by

🇳🇱Netherlands ronaldtebrake

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024