SystemMaintainerGate
final readonly class \
- Implements
- ModuleAccessGateInterface
Grants access only to system maintainers (admins listed in $GLOBALS['TYPO3_CONF_VARS']['SYS']['systemMaintainers']).
Deprecated
since v15, will be removed in v16. Decide module access with a security voter, see #[AsSecurityVoter]. TYPO3 Core decides the access value "systemMaintainer" with the ModuleVoter.
Attributes
- #[AsModuleAccessGate]
- $identifier: 'systemMaintainer'
Table of Contents
Interfaces
- ModuleAccessGateInterface
- Interface for module access gates.
Methods
Methods
decide()
public
decide(ModuleInterface $module, BackendUserAuthentication $user) : ModuleAccessResult
Parameters
- $module : ModuleInterface
- $user : BackendUserAuthentication