Hi,

I'm assuming that based on the issue queue and lack of recent commits that this module is no longer actively maintained, and that the likelyhood of this patch making it in is extremely low, but I'm putting this out there for anyone who will gain some benefit from it.

The patch adds the ability to filter a User View based on the Administer Users by Role edit permissions, which in combination with the User management View defined in the latest 1.10 Beta of the Views Bulk Operations module (or a another User View) makes for a better user experience by only showing editable users instead of showing all users and simply erring when the user tries to edit a user they don't have permission to edit.

Hope someone finds this useful as it wasn't the easiest thing in the world to get working.

Cheers,
Deciphered.

Files: 
CommentFileSizeAuthor
administerusersbyrole-DRUPAL-6--1-Views_editatble_filter-1.patch3.34 KBDeciphered
FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch administerusersbyrole-DRUPAL-6--1-Views_editatble_filter-1.patch. Unable to apply patch. See the log in the details link for more information.
[ View ]

Comments

Version:7.x-1.0-beta1» 6.x-1.4

The latest version of this module as a VBO action "delegate roles" which show only the roles that logged in user can manage.
For filtering views result by role you can achieve that by adding role filter to your views, this approach however is actually a workaround and doesn't work if you have multiply users able to delegate different roles.

Status:Needs review» Needs work

The last submitted patch, administerusersbyrole-DRUPAL-6--1-Views_editatble_filter-1.patch, failed testing.

Version:6.x-1.4» 7.x-1.0-beta1
Status:Needs work» Needs review

Tried on D7, and same problem there too. Also you might want to try Role Delegation module in combination with this module

Being from 2 years ago I seriously doubt I have any need for this anymore, so feel free to close it off completely, no idea what the particular project was or wether this patch or solution was used in the end.

Cheers,
Deciphered.