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.
Hi, can't setup role in this configuration, see the snapshot in file attachment.
the 'Adhérent' profile is lower than 'modérateurs' and of course 'webmaster' in the access permission.
I want 'modérateurs' can assign 'Adhérents' role to 'authenticated user' but when I check case, a message error occurs : 'A forbidden choice has been detected, please contact ...'
Don't know why ?? an idea ?
Comment | File | Size | Author |
---|---|---|---|
#1 | role-delegation-issue.png | 15.48 KB | David Lesieur |
role-delegation-issue.jpg | 33.04 KB | Dawa |
Comments
Comment #1
David Lesieur CreditAttribution: David Lesieur commentedUnfortunately, I'm not able to reproduce that error. However, I think what you want to achieve is more like shown in my snapshot (the green boxes should be checked, and all the other boxes should not be checked). This will let 'Modérateurs' assign the 'Adhérents' role to other users. This will also let the 'Webmaster' role assign the 'Adhérents', 'Modérateurs', and 'Webmaster' roles to other users.
Comment #2
Dawa CreditAttribution: Dawa commentedHi David,
thanks for your help but it doesn't work ...
in fact, I don't know how to read this control access tab :
is it : column role can 'assign role' in line
or is it: line role in 'assign role' can assign role for column role ?
I tried both way but still doesn't work :(
if someone can help, thanks.
Comment #3
francisd CreditAttribution: francisd commentedI have the same bug with a role that contain a " ' ". If I remove the ', it's working.
Comment #4
waddles CreditAttribution: waddles commentedIt's the same as in the Access control page. If you 'edit permissions' on a single role it should make more sense. Eg. 'edit permissions' of a Manager's role should have 'assign Staff role' checked.
Comment #5
David Lesieur CreditAttribution: David Lesieur commented@francisd: Just committed a fix for this problem.
Comment #6
Anonymous (not verified) CreditAttribution: Anonymous commentedAutomatically closed -- issue fixed for two weeks with no activity.