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.
Hiya
While working on our current project we discovered a permissions issue in the UI module. All users could see the subuser tab regardless of whether they actually had a role that could manage subusers or not.
I have attached a patch that seems to sort it out.
Comment | File | Size | Author |
---|---|---|---|
subuser_ui.module.patch | 581 bytes | mikejuic3 |
Comments
Comment #1
pdesai CreditAttribution: pdesai commentedConfirmed this is working! Thanks for the patch!
EDIT: when switching to a subuser it still shows the Subusers tab. Could you help updating the patch to account for this as well?
Thanks!
Comment #2
mikejuic3 CreditAttribution: mikejuic3 commentedCan do, its probably something we would have to do anyway so will keep you posted.
Comment #3
shabam CreditAttribution: shabam commentedThis appears to be the same as https://www.drupal.org/node/1483590.