I start with "menu per role" module, and find in some case, it is difficault to hide some menu item for a special role. So I traveled all the menu per role module and modified on it to hide a menu item for a special role.
I attach all the files here and wait for your reviews. All the files is another custom module I rename it to "Hide menu per role". While I am glad if the menu per role module may add the codes from my files to support hide menu item of a special role.
Or another way to start a new module.
Thank you.
| Comment | File | Size | Author |
|---|---|---|---|
| hide_menu_per_role.tar_.gz | 8.9 KB | wqmeng |
Comments
Comment #1
AlexisWilke commentedI guess this is a good idea and we should be able to implement that with a checkbox array like we can see in the "Node per role" permission area. I will check your changes soon.
Thank you.
Alexis
Comment #2
AlexisWilke commentedI guess I did not come back to this issue for a while... 8-}
It was in 1.4 for a long time.
Thank you.
Alexis
Comment #3
wqmeng commentedYep, I have already seen it in 1.4 for a while.
Thanks a lot.
Cheers