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.
I keep getting this message. I have a new "Admin users" role for creating authenticated users. It works fine and the new user becomes active but I keep getting this message as a warning! What am I missing or is this a bug?
Comment | File | Size | Author |
---|---|---|---|
#1 | administerusersbyrole.module.patch | 992 bytes | sir_squall |
Comments
Comment #1
sir_squall CreditAttribution: sir_squall commentedHello,
I have found the solutions, I have created patch.
Comment #2
russellb CreditAttribution: russellb commentedI'm getting this message too.
I'm finding that my privileged roles are able to unblock new registrations when I give permissions, but I'm seeing this error message. The above patch seems to change the logic. For me the logic seems to be working, just an erroneous error message.
We're also using Role delegation 7.x-1.1
Comment #3
sir_squall CreditAttribution: sir_squall commentedMy patch only add a test in addition to correct the error message, it does not change the logic.
I don't know why you have this.
Comment #4
ar-jan CreditAttribution: ar-jan commentedPatch seems to work (no more erroneous error messages), but I don't know if it's the right solution. The message is very confusing for users, so a commited fix would be great.
Comment #5
BWPanda CreditAttribution: BWPanda commentedThe hook function where this error message was being generated has been removed from the module altogether (http://drupalcode.org/project/administerusersbyrole.git/commit/98413a8), so I'd say this is fixed.
Comment #7
Jorrit CreditAttribution: Jorrit commentedCould a new release be made with this improvement?
Comment #8
Bernsch CreditAttribution: Bernsch commentedI have also this message:
You do not have permission to unblock <username>
How can i fix it? Can i use the patch in #1 ? Or should i use the dev version?
PS: When can we expect a rollout 7.x-1.0-beta2 release of Administer Users by Role?
Comment #9
gnugetYou should use the dev version.
Comment #10
aaronpinero CreditAttribution: aaronpinero commentedI don't believe that "use the dev version" is an acceptable solution for a live website. It's fine for development. I would very much like to see this fix rolled into the recommended release of the module. Thank you.
Comment #11
trkest CreditAttribution: trkest commentedCan I second aaronpinero's message. Please can this patch be rolled out to the recommended release.
We use aegir and have a number of sites that get this message.
Comment #12
jeff.hartman CreditAttribution: jeff.hartman commentedI'm using the latest dev branch (7.x-1.0-beta1+7-dev) and also get this message. It happens in the hook_user_presave method after a user resets their password.
Comment #13
Anonymous (not verified) CreditAttribution: Anonymous commentedI second #10. Have just spent a while looking for this.
Thank you.