Create hook_role_delegation_assignable_roles_alter()

Created on 13 September 2023, 10 months 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.69.0 2024