Hi,
Just tried this module and wanted to disable the welcome message. However the admin link (admin/settings/userloginbar) gives access denied error. Checking the module permissions page, this module was not listed.
Any thoughts as to why this might be?
Regards,
Marius
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | userloginbar_perms.patch | 1.09 KB | rfay |
Comments
Comment #1
sudeepg commentedTry clearing the cache at performance (admin/settings/performance)? I'll look deeper into the problem.
Comment #2
Witch commentedSame problem here
Comment #3
pukku commentedThis is because the implementation of hook_menu provides the wrong access settings.
In userloginbar.module, in
function userloginbar_menu, There is a line:'access arguments' => array('administrator content'),This permission doesn't exist. This should be altered to look like:
'access arguments' => array('administer site configuration'),(or whatever permission you think it should be set to).
Comment #4
rfayHere's a patch for this. It creates a permission and uses that permission.
Comment #5
scotwith1tseems to work no problem.