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.
This patch will add an additional settings for Masquerade, which allows us to limit roles so admin can Masquerade as any user in that particular role only. Since its checkbox, multiple roles can be selected.
Please review
Comment | File | Size | Author |
---|---|---|---|
#1 | limit-roles-1993606-1.patch | 2.02 KB | serjas |
Comments
Comment #1
serjas CreditAttribution: serjas commentedComment #2
deekayen CreditAttribution: deekayen commentedI like this method better: #1171500: Add "masquerade as @role" permissions/settings for each role
Comment #3
Nicolas Bouteille CreditAttribution: Nicolas Bouteille commentedI would like to re-open this feature request as this is what I was coming here to ask for.
From what I understand this is different from the solution above which would not make you change user but just adjust your role right?
I need to actually be able to switch to a specific user, but I would like the autocomplete to only suggest among the 200 clients I have, not the 200 000 total users...