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.

CommentFileSizeAuthor
hide_menu_per_role.tar_.gz8.9 KBwqmeng

Comments

AlexisWilke’s picture

I 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

AlexisWilke’s picture

Version: 6.x-1.3 » 6.x-1.4
Status: Needs review » Fixed

I 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

wqmeng’s picture

Yep, I have already seen it in 1.4 for a while.

Thanks a lot.

Cheers

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.