Download & Extend

Role Expire doesn't play well with Role Delegation

Project:Role Expire
Version:7.x-1.x-dev
Component:Code
Category:task
Priority:normal
Assigned:Unassigned
Status:needs review

Issue Summary

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

#1

Status:active» needs review

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.

AttachmentSize
role_expire_role_delegation.patch 1.59 KB

#2

Thanks a lot for this patch, works as expected!