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.
Hello,
The admin user has these roles : admin and role 1.
In the settings of this module, I have defined for the admin role, these options :
- Create new users
- Access the users overview page
- Edit users with role 1
- Cancel users with role 1
But, if an user with the admin role wants to edit another user with role1, he gets an access denied.
Before, I was using the version 1 of this module and I had no problem.
Can you help me to resolve this?
Thanks.
Comments
Comment #1
kumkum29 CreditAttribution: kumkum29 commentedComment #2
AdamPS CreditAttribution: AdamPS commentedFor version 2 of the module, the permissions are explained in the README.txt file. Is it possible that your "other user" with role1 has another role as well?
I'm not sure I fully understand your issue title "User can't edit user with the same role". Are you saying the fact that the "admin user" (although we tend to call it sub-admin because admin suggests full Drupal admin permission to change anything) also has role1 is significant? If you remove role1 from the admin, then does it work correctly?
Comment #3
AdamPS CreditAttribution: AdamPS commentedComment #4
AdamPS CreditAttribution: AdamPS commentedClosing as no response from OP. Please re-open with more info if required.