There are already some issues in the queue list (#831232: Problem working with role delegation module for non admin/uid 1, #1212712: Compatibility problem with role_delegation module (role_expire 6.x-1.5)), I'm creating a 7.x one here.

Basically, the problem happens only when using a non-admin user, which is indeed when Role Delegation is used.

Comments

Pere Orga’s picture

Status: Active » Needs review
FileSize
1.59 KB

Based on code from #831232: Problem working with role delegation module for non admin/uid 1, here there's a small javascript-only patch.

It works properly on both admin/non-admin users, and doesn't interfere when Role Delegation is not used.

I tested it, and should apply cleanly to current git.

Daniel Wentsch’s picture

Thanks a lot for this patch, works as expected!

OliverColeman’s picture

Version: 7.x-1.x-dev » 7.x-1.0-beta2
Issue summary: View changes
FileSize
3.94 KB

Here's a new patch that works with the latest versions of role_expire and role_delegation.