The permissions as set up do not allow someone other than the administrator to be given control of brilliant-gallery.
In brilliant_gallery.module line 46 should read:
return array('access brilliant_gallery', 'access administration pages');
not
return array('access brilliant_gallery');
as in the original. The additional permission is used to control access to admin pages, but not declared, so can never be granted.
Regards, Tony.
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | 370747-bg-overwrite-permission-D6-3.patch | 3.35 KB | dave reid |
Comments
Comment #1
smartmark commentedThanks! I knew there were something wrong with setting access to "manage galleries". This fix should be included in the next release, too.
Comment #2
vacilando commentedThanks for locating this; applied to dev a few moments ago.
Comment #4
dave reidThis has not been fixed in the DRUPAL-6--3 branch yet and absolutely needs to be fixed soon. It is *very* bad for this module to be accidentally replacing system.module's permission so we couldn't find it on the admin/user/permissions page.
Comment #5
dave reidIt isn't fixed in DRUPAL-6--4 yet either.
Comment #6
dave reidActually, this needs to be *fixed*. It should be 'administer brilliant gallery' not 'access administration pages'. Huge, huge no-no.
Comment #7
dave reidPatch against the 6.x-3.x branch.