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.
There are conflicts on administerusersbyrole and me aliases modules. Me aliases module replace user uid by a "token" (by default, "me") in paths. Replaced user account edit path (e.g., user/me/edit), when processed by administerusersbyrole, results in a "You do not have permission to edit" message.
A patch is attached, but it might be reviewed.
Comment | File | Size | Author |
---|---|---|---|
me_aliases_compatibility.patch | 732 bytes | manuel.adan | |
Comments
Comment #1
rafinskipg CreditAttribution: rafinskipg commentedThanks for the patch, adan.
Now mine it's working.
:)
Comment #2
PinoloPatch works for me with latest module's release
Comment #3
jarodms CreditAttribution: jarodms commentedworks for me with latest versions: Me 6.x-2.9 and administerusersbyrole 1.4.
Thanks for the patch!
Comment #4
jason.fisher CreditAttribution: jason.fisher commentedPatch also successful here.
Comment #5
smokris@adan, your patch completely disables the edit restrictions introduced by this module — a serious security problem.
But it does seem pretty straightforward to ask me.module to translate its alias into a UID for us, so I modified Administer Users by Role to do that.
Committed to 6.x-1.x-dev as http://drupalcode.org/project/administerusersbyrole.git/commit/3728486.