Closed (fixed)
Project:
Custom Permissions
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Mar 2009 at 13:13 UTC
Updated:
18 Mar 2009 at 23:10 UTC
Hi,
nice module - have wondered for some time why the admin permissions were so coarse - was going to write something similar for my next project, but you've saved me the trouble.
Only problem I see so far is that disabling the module doesn't clean up the menu_router table after it's disabled - producing errors when the config_perms callback is still seen. Although this is fixed by running update.php, it would be more friendly to have the module clean up after itself - I've written a patch to do this (attached).
I looked at just using menu_rebuild - but this in turn calls the menu_alter hook - so the config_perm entries get added back in again!
Cheers
Mike R
| Comment | File | Size | Author |
|---|---|---|---|
| install.patch | 846 bytes | fat-eddie |
Comments
Comment #1
mrthumpz commentedThanks for the patch! committed.