Skip to the content
Documentation

[MenuAccessSettings]

No ratings yet

Available since Exponential 6.0.15 (in development, not in a release yet).

Summary

The group [MenuAccessSettings] of settings/menu.ini.

File

settings/menu.ini; override it in settings/override/menu.ini.append.php, in a siteaccess or in an extension.

Settings

Setting Default Description
CheckViewAccess enabled Shows a top tab ([Topmenu_*] URL) or a left menu link ([Leftmenu_*] Links[]) only to a user who can open the address it points to, checked the way the kernel checks the request (expViewAccess): the URL alias, the view's policy functions with their limitations (a view without functions needs the module), the siteaccess's [SiteAccessRules], RequireUserLogin, the user/login SiteAccess limitation, and the node or object of content/view and content/edit. It comes on top of the PolicyList settings below, which stay for what an address cannot tell (a node to be readable, a policy the view itself asks for). Templates ask the same: fetch( 'user', 'can_open', hash( 'uri', ... ) ). enabled | disabled
NoAccessLinks hidden What becomes of a left menu link the user cannot open: hidden the link is left out (and a menu with no link left is left out) disabled its name is shown without a link (the behaviour of the 4.x releases)

See also

Generated example: menu.ini [MenuAccessSettings]

Added to the reference for Exponential 6.0.15: the 4.x reference had no page for this group. The descriptions are the comment lines of settings/menu.ini.

Contributors

Comments

Add a comment

Comments are read by a moderator before they appear.