Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I use this theme function theme_role_delegation_delegate_roles_action_form(). It displays all roles even if user haven't access to delegate some role. We should add appropriate check for this.
Patch is attached.
Comment | File | Size | Author |
---|---|---|---|
role_delegation-role_delegation_form_ignore_permissions.patch | 1.24 KB | alan-ps | |
|
Comments
Comment #2
Samfall CreditAttribution: Samfall commentedThank you for this patch. I was very surprised when I noticed this same issue and was going to fix it myself before I checked here.
Comment #3
NWOM CreditAttribution: NWOM commentedApplies cleanly and works great. Thank you!
Comment #4
mforbes CreditAttribution: mforbes commentedThis patch seems identical to the one at https://www.drupal.org/project/role_delegation/issues/2051669 which is older, so it seems like this should be closed as duplicate. Setting to "Needs review" in the meantime in case there is something I'm missing.
Comment #5
JeroenT