Closed (fixed)
Project:
Quota by role
Version:
5.x-5.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
22 Mar 2008 at 16:25 UTC
Updated:
3 Apr 2008 at 05:50 UTC
The new build seems to give everyone a "Quota by role" link in the navigation, and it gives everyone access/permissions to the new "Administer module" page, even if they don't have permission in Access control.
Thanks
Comments
Comment #1
introfini commentedHi,
That's a bug. You have to change the line #53 to
'access' => user_access('administer quota by role'),introfini
Comment #2
tj2653 commentedThat seemed to fix the access issue, but I tried to uncheck the "Yes, override the default behaviour, I want to redirect the user to my own error page" checkbox with my admin user, but it won't save the new setting now.
Comment #3
lazyboy commentedtj2653
You can download a new release for the module (http://drupal.org/project/quota_by_role), that where I fixed that problem (the access control). Make sure to disable the module, then re-enable (no need to uninstall).
Regards
lazyboy
Comment #4
lazyboy commentedThanks introfini for the ad-hoc support :) Appreciate it.
Comment #5
tj2653 commentedThanks lazyboy...any ideas about the problem where the "Yes, override the default behaviour, I want to redirect the user to my own error page" stays checked even after I unchecked it and tried Saving that setting? I tried disabling the module, and completely uninstalling it, but the appears that that setting doesn't delete and stays checked. I believe it was originally set to unchecked, but ever since I checked it, I can't get back.
Comment #6
lazyboy commentedHi tj2653
Yeah, I've found the problem. I forgot to add code to remove the variable when you untick the checkbox... Committed it to CVS, and it's already available for download.
Regards
lazyboy
Comment #7
tj2653 commentedSorry to be a pain, but unless I'm going crazy, 5.x-7.2 seems to be identical to 5.x-7.1.
Comment #8
lazyboy commentedHello All
I've finally managed to commit the code to cvs, and have the right version appear on the front page. Download latest version and test :)
Regards
lazyboy
Comment #9
tj2653 commentedThe problem with not being able to uncheck the "Yes, override the default behaviour..." box looks like it's fixed in the latest build. Thanks :)
Comment #10
lazyboy commentedHi tj2653
Sweet! Then I'm going to close the issue.
Regards
lazyboy