Sudo like functionality (elevate to adminrole)

metzlerd - May 12, 2009 - 14:01
Project:Admin Role
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:won't fix
Description

Would like to see the ability for certain users to the adminrole. I'm willing to role some patches, but would like to know whether this seems like a good idea from maintainers perspective. This would allow admins to function as normal site participants until they elevated to to the adminrole.

#1

DanielTheViking - August 30, 2009 - 21:11

Ref. this post:

"Adminrole security hole: admins can assign themselves full permissions"
http://drupal.org/node/375954

If I understand your feature request properly, then you are suggesting that instead of doing the check that requires "administer permissions", then instead the module should add a permission setting where roles can be assigned to give them access to adjust adminrole settings.

#2

DanielTheViking - August 30, 2009 - 21:14

Further on this:
In conjunction with the Masquerade module, such "sudo" like behaviour could possibly be arranged, have not given that serious thought, though. But if so, that would require that the mentioned security hole is fixed.

#3

Dave Reid - November 25, 2009 - 03:51
Status:active» won't fix

Don't think this is appropriate for this module (whereas there is Masquerade and User switcher). This should stay a simple backport of the D7 functionality.

 
 

Drupal is a registered trademark of Dries Buytaert.