Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,090 of 9,090 pages
About the help in other languages
All help pages

Admin links follow permissions

This page is for administrators who set up roles for editors, and for template authors who show admin links. Since 2026-10-02 the admin dashboard, the top menu and the left menus show a link only to a user who can open…

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/features/6.0/admin-links-follow-permissions.md

On this page

Admin links follow permissions

This page is for administrators who set up roles for editors, and for template authors who show admin links. Since 2026-10-02 the admin dashboard, the top menu and the left menus show a link only to a user who can open the address behind it. Before, an editor saw the Design, Newsletter and Export tabs and left-menu entries such as Users, Tags or Trash that the role did not allow, and got an "access denied" page on click.

What is checked

The kernel class expViewAccess answers "can this user open this address?" the same way the request itself would. It checks:

  • the URL alias;
  • the policy functions of the module view and their limitations (a view without functions needs the module);
  • the siteaccess's [SiteAccessRules] and RequireUserLogin;
  • the user/login SiteAccess limitation;
  • for content/view and content/edit, the node or object.

This comes on top of the PolicyList_<name>[] entries of menu.ini, which stay for what an address cannot tell. A left menu with no link left is hidden as a whole.

Settings

FileBlockKeyDefaultScope
settings/menu.iniMenuAccessSettingsCheckViewAccessenabledsiteaccess or override
settings/menu.iniMenuAccessSettingsNoAccessLinkshidden (disabled shows the name without a link, as the 4.x releases did)siteaccess or override

Show the shipped values:

grep -n "CheckViewAccess\|NoAccessLinks" settings/menu.ini

Use it in your own template

The fetch function user/can_open (defined in kernel/user/function_definition.php) gives the same answer:

{if fetch( 'user', 'can_open', hash( 'uri', 'setup/cache' ) )}
    <a href={'setup/cache'|ezurl}>Caches</a>
{/if}

Check an installation

  1. Sign in as an editor with a restricted role. The Design, Newsletter and Export tabs and the entries without a policy are gone.
  2. Sign in as Administrator. Nothing is missing.

To take a tab out for everybody on one siteaccess, whatever the policies say, use HiddenTabs.

Become an Exponential Partner

Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x