Create hook_role_delegation_assignable_roles_alter()

Created on 13 September 2023, about 1 year ago

It would be useful to have a hook that allows altering the return value of DelegatableRoles::getAssignableRoles().

One use case is that it would allow granting the assignable roles in the alter hook instead of permissions. That would work-around 🐛 Adding non-existent permissions to a role is not allowed Active .

Feature request
Status

Needs review

Version

1.0

Component

Code

Created by

🇨🇦Canada Liam Morland Ontario, CA 🇨🇦

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

Comments & Activities

Production build 0.71.5 2024