Downloads

Download menu_per_role-6.x-1.9.tar.gztar.gz 11.41 KB
MD5: a4b8f6c35e09327c5247ffd12180a17b
SHA-1: 03f76049f3214d4bc4b135b765b03777d9b90d55
SHA-256: 856ff07f2803057583fff11e6a42822de308075fe42132ef8b656c53b712b450
Download menu_per_role-6.x-1.9.zipzip 13.89 KB
MD5: cdfffd9cee77949902f90abee0437975
SHA-1: 2e378278cce0baceed972a983d0f632efdc74560
SHA-256: ee0f57e50474d2cc438d9da23ef7c5f4378e6881d784302e223249cf310c7b3c

Release notes

This version fixes a big problem in 1.8 that would not properly handle the arrays used to manage the role identifiers:

* The new function extracting the rids (_menu_per_role_get_roles) and hrids would create an array with one empty string instead of an empty array.

* Added missing function to properly support adding new nodes including roles in your menu items.
* Removed the callback from the node form (use the hook_nodeapi() instead)
* Added the 'update' operation in hook_nodeapi()
* Avoid saving menu per role selections when the user doesn't have proper permissions
* Added a Menu per Role settings page to allow setting up whether administrators can see hidden menus or not
* Changed the test so users who are administrators may still have the menu hidden from them
* Moved some of the code in an admin.inc file (load time optimization)
* Moving the package to Menu instead of Other

Created by: AlexisWilke
Created on: 9 Feb 2011 at 21:00 UTC
Last updated: 9 Feb 2011 at 21:07 UTC
Bug fixes

Other releases