Authorization

namespace TYPO3\CMS\Backend\Security\Authorization

Table of Contents

Classes

ModuleAccessGateVoter
Decides on accessing a backend module by asking the module access gate registered for its access value: for an access value that is not one of TYPO3 Core, and for one whose Core gate an extension replaced. This keeps the deprecated gates of extensions working, while every module access is decided by the authorization checker, so that voters of extensions can restrict it as well.
ModuleVoter
Decides on accessing a backend module with one of the access values of TYPO3 Core: isGranted(Scope::ACCESS, $moduleRegistry->getModule('web_layout')).
ModuleWorkspaceVoter
Denies accessing a backend module that is not available in the current workspace of the backend user, see the "workspaces" option of a module: "live" restricts a module to the live workspace, "offline" to the other workspaces, "*" makes it available in every workspace, even without workspace (-99). A module without the option inherits it from its parent.
ReplacedModuleAccessGates
Tells whether an extension replaced the module access gate of TYPO3 Core for one of the access values "user", "admin" or "systemMaintainer", which is possible since TYPO3 v14.2. A replaced gate keeps deciding that access value, through the ModuleAccessGateVoter, instead of the ModuleVoter.
On this page