RootLevelCapability implements SchemaCapabilityInterface
Read onlyYes
FinalYes
Capability to understand the flag within - security.ignoreRootLevelRestriction
This is an experimental implementation and might change until TYPO3 v13 LTS
Table of Contents
Interfaces
- SchemaCapabilityInterface
- A semantic interface for any kind of capability.
Constants
- TYPE_BOTH = -1
- TYPE_ONLY_ON_PAGES = 1
- TYPE_ONLY_ON_ROOTLEVEL = 0
Properties
- $ignoreRootLevelRestriction : bool
- $rootLevelType : int
Methods
- __construct() : mixed
- canAccessRecordsOnRootLevel() : bool
- Allows non-admin users to access records that on the root-level (page-id 0), thus bypassing this usual restriction.
- canExistOnPages() : bool
- canExistOnRootLevel() : bool
- getRootLevelType() : int
- shallIgnoreRootLevelRestriction() : bool
Constants
TYPE_BOTH
public
mixed
TYPE_BOTH
= -1
TYPE_ONLY_ON_PAGES
public
mixed
TYPE_ONLY_ON_PAGES
= 1
TYPE_ONLY_ON_ROOTLEVEL
public
mixed
TYPE_ONLY_ON_ROOTLEVEL
= 0
Properties
$ignoreRootLevelRestriction
protected
bool
$ignoreRootLevelRestriction
$rootLevelType
protected
int
$rootLevelType
Methods
__construct()
public
__construct(int $rootLevelType, bool $ignoreRootLevelRestriction) : mixed
Parameters
- $rootLevelType : int
- $ignoreRootLevelRestriction : bool
canAccessRecordsOnRootLevel()
Allows non-admin users to access records that on the root-level (page-id 0), thus bypassing this usual restriction.
public
canAccessRecordsOnRootLevel() : bool
Return values
boolcanExistOnPages()
public
canExistOnPages() : bool
Return values
boolcanExistOnRootLevel()
public
canExistOnRootLevel() : bool
Return values
boolgetRootLevelType()
public
getRootLevelType() : int
Return values
intshallIgnoreRootLevelRestriction()
public
shallIgnoreRootLevelRestriction() : bool