简体   繁体   中英

How to give a permission to only some users with same role in drupal?

If I have 3 users of same role (program manager) and now I have to give some permissions(add/edit/delete) to only 1 user in it. Can I do this instead of assigning to a particular role so that every user containing the role gets the permissions?

Just add a role containing ONLY the special permissions and then assign that new role AND the program manager role to the person(s) you want (users can have more then 1 role in Drupal). You don't need any 3rd party lib for that functionality.

The point of roles is to allocate permissions to blocks or types of users. These roles do not necessarily have to correspond to an individual's role within an organization. For example, you could make the one with special permissions an Editing Program Manager, which would be a new role you create with all of the same permissions, plus those extras that the specific user needs.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM