Skip to content
Snippets Groups Projects
Commit 22c63c06 authored by Patrick Schriner's avatar Patrick Schriner Committed by Markus Klein
Browse files

[BUGFIX] Hide shortcuts to inaccessible modules for admins as well

Currently the check whether a module is accessible is only done for
non-admins. Clicking on a shortcut that leads to an inaccessible module leads
to an error. Move the check outside so that those shortcuts are at least
not shown after a backend reload.

Change-Id: I0bfcb50913bc4a45ad8442221dc45649f75cf554
Resolves: #71700
Releases: master
Reviewed-on: https://review.typo3.org/44802


Reviewed-by: default avatarAndreas Fernandez <typo3@scripting-base.de>
Tested-by: default avatarAndreas Fernandez <typo3@scripting-base.de>
Reviewed-by: default avatarWouter Wolters <typo3@wouterwolters.nl>
Tested-by: default avatarWouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: default avatarMarkus Klein <markus.klein@typo3.org>
Tested-by: default avatarMarkus Klein <markus.klein@typo3.org>
parent cdc8fca1
Branches
Tags
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment