Adding/editing CSS injector under Drupal 6.2 not allowed
mdonkers - April 11, 2008 - 08:11
| Project: | CSS Injector |
| Version: | 6.x-1.1 |
| Component: | User interface |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
I had CSS injector installed under Drupal 6.1 and it worked fine. Since my upgrade to Drupal 6.2 I get a No access, you do not have sufficient access rights to visit this page, whenever I try to edit one of my existing or add a new CSS injector.
I have checked the access rights of the sites/default/files directory, but they appear to be okay (the uploading of images via the Img module works fine).

#1
Found this information on converting 6.0, 6.1 modules to 6.2:
Converting 6.0, 6.1 modules to 6.2
#2
Fixed the problem with the following workaround:
In css_injector.module in the function css_injector_menu:
have copied the following two lines:
'access callback' => 'user_access','access arguments' => array('administer css injection'),
from the item 'admin/settings/css_injector'
to the items: 'admin/settings/css_injector/edit', 'admin/settings/css_injector/add', and' admin/settings/css_injector/delete'.
Now it works fine, again.
#3
Thanks .. that worked perfectly!! ^_^
#4
THis seems to be working for me as well. Thanks.
#5
The fix has been checked in and is part of the dev version -- I'll roll a new release shortly. Thanks!
#6
bump
the project does not have dev release
new release or dev snaphot is required as soon as possible. asking people to hack the module is not the way to go..
#7
A new release has been rolled -- 1.2 includes the fixed code. Thanks!
#8
Automatically closed -- issue fixed for two weeks with no activity.