[support] User access to available updates

Pierre Rineau pierre.rineau at makina-corpus.com
Mon Jul 26 22:27:02 UTC 2010


Le lundi 26 juillet 2010 à 15:17 -0700, Bob Morse a écrit :
> Anyone know of a simple way to give a user (site manager) access to
> admin/reports/updates without giving access to ' administer site
> configuration'? 
> -- 
> [ Drupal support list | http://lists.drupal.org/ ]

Doing a simple hook_menu_alter() implementation, replacing the 'access
arguments' key with another permission should do the trick.

If you need a specific permission for this, also implement the
hook_perms() and all will be fine!

YES! This is code, and this needs a module, but a 3 lines module,
everyone does modules to do some custom stuff in their Drupal
installations :)

Pierre.




More information about the support mailing list