Hello
First of all, thanks for the very nice module! :)
I've encountered an odd permissions issue with this module. I would like to give content managers access to specific parts of the administration menu (thus they should have the "administration menu" permissions), however I do not want to give them access to this module.
The way this module is written, it basically gives access to it to whoever has access to the administration menu. Here are two small modifications to allow people to administer it ONLY when they have the "administer noie6" permission:
- Edit noie6.module and remove lines 44-50 (the noie6_admin_page_access function)
- Remove line 63:
'access callback' => 'noie6_admin_page_access',
- Change line 64 from:
'access arguments' => array(1),
to:
'access arguments' => array('administer noie6'),
Attaching a patch that does these
| Comment | File | Size | Author |
|---|---|---|---|
| noie6-perms.patch | 1.18 KB | bluegr |
Comments
Comment #1
altrugon commentedbluegr thank you so much for catching this bug and submit a patch for it.
I have created a new release with your patch (6.x-1.4).
Comment #2
altrugon commented