UserGate

final readonly class \TYPO3\CMS\Backend\Module\AccessGate\UserGate

Implements
ModuleAccessGateInterface

Grants access based on explicit module permissions in be_users.userMods / be_groups.groupMods. Admin users are always granted access.

Deprecated

since v15, will be removed in v16. Decide module access with a security voter, see #[AsSecurityVoter]. TYPO3 Core decides the access value "user" with the ModuleVoter.

Attributes

#[AsModuleAccessGate]
$identifier: 'user'

Table of Contents

Interfaces

ModuleAccessGateInterface
Interface for module access gates.

Methods

__construct()  : mixed
decide()  : ModuleAccessResult

Methods

On this page