Closed (fixed)
Project:
Admin role
Version:
6.x-1.0-beta2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Sep 2008 at 21:47 UTC
Updated:
21 Jan 2009 at 20:20 UTC
adminrole was not assigning permissions when I would add new modules as it should. I had the role setup and everything. The attached patch will fix it. Basically, it appears that the module_list() function was not refreshing. The attached patch will fix this.
| Comment | File | Size | Author |
|---|---|---|---|
| adminrole_checkall.diff | 364 bytes | designerbrent |
Comments
Comment #1
Babalu commentedcan you make a .patch file from this
i can not patch with this file on my vps root
Comment #2
designerbrent commentedBabalu: This is a patch file. If you so desire, you can rename it to .patch. Or you can open it and make the small change manually.
http://drupal.org/patch/apply
Comment #3
Babalu commentedrename and works. thx :)
Comment #4
scottrigbyThis patch works great... I applied a few weeks ago and have been checking periodically to make sure all permissions are applied - have tested many modules and no issues yet. Is it too bold to say it's 'reviewed & tested by the community'? ;)
Comment #5
femrich commentedI'm experiencing the same problem, and the warnings on the drupal.org instructions for patching make me very hesitant to apply the patch (hesitant to apply any patch, actually). Any idea when this patch will be added either to .dev or beta for 6.x?
Comment #6
mariuss commented@femrich, I understand your concerns, but this is a really trivial patch, just look at it and make the change manually. Basically, the first argument to module_list needs to be changed from FALSE to TRUE. It is much safer to apply the patch than to use the dev version, since the dev version most likely has other changes as well.
Comment #7
moshe weitzman commentedWould be great to get this in and roll a new release. The current release does not have the fix for #297920: Wrong role gets admin access. thanks.
Comment #8
femrich commentedSorry, but I am a coding newbie. I'll look into this, but it will take me a while just to figure out what the instructions in your reply mean, mariuss. My bad, of course. But thanks for the feedback and I will try to figure out how to apply this patch...
Comment #9
Leeteq commentedSubscribing.
Comment #10
Bevan commentedIt'd be really good to get this committed and released. I think JacobSingh (maintainer) is swamped with larger things with his new job at Acquia right now. I have pinged him.
Comment #11
Bevan commentedCommitted, will be released as RC2
Comment #12
Bevan commented