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.

CommentFileSizeAuthor
subuser_ui.module.patch581 bytesmikejuic3
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

pdesai’s picture

Confirmed 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!

mikejuic3’s picture

Can do, its probably something we would have to do anyway so will keep you posted.

shabam’s picture

Status: Active » Closed (duplicate)

This appears to be the same as https://www.drupal.org/node/1483590.