‪TYPO3CMS  9.5
TYPO3\CMS\Core\Type\Bitmask\Permission Class Reference
Inheritance diagram for TYPO3\CMS\Core\Type\Bitmask\Permission:
TYPO3\CMS\Core\Type\Enumeration TYPO3\CMS\Core\Type\TypeInterface

Public Attributes

const NOTHING = 0
 
const PAGE_SHOW = 1
 
const PAGE_EDIT = 2
 
const PAGE_DELETE = 4
 
const PAGE_NEW = 8
 
const CONTENT_EDIT = 16
 
const ALL = 31
 

Additional Inherited Members

- ‪Public Member Functions inherited from ‪TYPO3\CMS\Core\Type\Enumeration
 __construct ($value=null)
 
bool equals ($value)
 
string __toString ()
 
- ‪Static Public Member Functions inherited from ‪TYPO3\CMS\Core\Type\Enumeration
static array getConstants ($include_default=false)
 
static static cast ($value)
 
static string getName ($value)
 
static string getHumanReadableName ($value)
 
- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Core\Type\Enumeration
 setValue ($value)
 
bool isValid ($value)
 
- ‪Static Protected Member Functions inherited from ‪TYPO3\CMS\Core\Type\Enumeration
static loadValues ()
 
- ‪Protected Attributes inherited from ‪TYPO3\CMS\Core\Type\Enumeration
mixed $value
 
- ‪Static Protected Attributes inherited from ‪TYPO3\CMS\Core\Type\Enumeration
static array $enumConstants
 

Detailed Description

A class providing constants for bitwise operations on page access check

Definition at line 22 of file Permission.php.

Member Data Documentation

◆ ALL

◆ CONTENT_EDIT

const TYPO3\CMS\Core\Type\Bitmask\Permission::CONTENT_EDIT = 16

Definition at line 52 of file Permission.php.

Referenced by TYPO3\CMS\Backend\Form\FormDataProvider\DatabaseUserPermissionCheck\addData(), TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\DatabaseUserPermissionCheckTest\addDataAddsUserPermissionsOnPageForContentIfUserHasCorrespondingPermissions(), TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\DatabaseUserPermissionCheckTest\addDataSetsUserPermissionsOnPageForNewContentRecord(), TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\DatabaseUserPermissionCheckTest\addDataSetsUserPermissionsOnPageForNewPageIfPageNewIsDeniedAndHookAllowsAccess(), TYPO3\CMS\Backend\FrontendBackendUserAuthentication\allowedToEdit(), TYPO3\CMS\Core\FrontendEditing\FrontendEditingController\allowedToEdit(), TYPO3\CMS\Backend\ContextMenu\ItemProviders\RecordProvider\canBeEdited(), TYPO3\CMS\Backend\ContextMenu\ItemProviders\RecordProvider\canBePastedAfter(), TYPO3\CMS\Backend\ContextMenu\ItemProviders\PageProvider\canBeSorted(), TYPO3\CMS\Recycler\Utility\RecyclerUtility\checkAccess(), TYPO3\CMS\Backend\Controller\Wizard\AbstractWizardController\checkEditAccess(), TYPO3\CMS\Backend\Controller\PageLayoutController\contentIsNotLockedForEditors(), TYPO3\CMS\Adminpanel\Service\EditToolbarService\createToolbar(), TYPO3\CMS\Core\DataHandling\DataHandler\doesRecordExist_pageLookUp(), TYPO3\CMS\Backend\Search\LiveSearch\LiveSearch\getEditLink(), TYPO3\CMS\Backend\View\PageLayoutView\getTable_tt_content(), TYPO3\CMS\Backend\Controller\BackendController\handlePageEditing(), TYPO3\CMS\Backend\Controller\PageLayoutController\isContentEditable(), TYPO3\CMS\Backend\View\PageLayoutView\isDragAndDropAllowed(), TYPO3\CMS\Core\Authentication\BackendUserAuthentication\isPSet(), TYPO3\CMS\Backend\View\PageLayoutView\linkWrapItems(), TYPO3\CMS\Backend\Controller\EditDocumentController\makeEditForm(), TYPO3\CMS\Backend\Form\Container\InlineRecordContainer\renderForeignRecordHeaderControl(), TYPO3\CMS\Backend\View\PageLayoutView\tt_content_drawColHeader(), and TYPO3\CMS\Backend\View\PageLayoutView\tt_content_drawHeader().

◆ NOTHING

◆ PAGE_DELETE

◆ PAGE_EDIT

const TYPO3\CMS\Core\Type\Bitmask\Permission::PAGE_EDIT = 2

Definition at line 37 of file Permission.php.

Referenced by TYPO3\CMS\Backend\Form\FormDataProvider\DatabaseUserPermissionCheck\addData(), TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\DatabaseUserPermissionCheckTest\addDataAddsUserPermissionsOnPageIfTableIsPagesAndUserHasPagePermissions(), TYPO3\CMS\Backend\FrontendBackendUserAuthentication\allowedToEdit(), TYPO3\CMS\Core\FrontendEditing\FrontendEditingController\allowedToEdit(), TYPO3\CMS\Backend\ContextMenu\ItemProviders\PageProvider\canBeEdited(), TYPO3\CMS\Recycler\Utility\RecyclerUtility\checkAccess(), TYPO3\CMS\Backend\Controller\Wizard\AbstractWizardController\checkEditAccess(), TYPO3\CMS\Adminpanel\Service\EditToolbarService\createToolbar(), TYPO3\CMS\Core\DataHandling\DataHandler\doesRecordExist_pageLookUp(), TYPO3\CMS\Core\Authentication\BackendUserAuthentication\fetchGroups(), TYPO3\CMS\Backend\FrontendBackendUserAuthentication\getAllowedEditActions(), TYPO3\CMS\Core\FrontendEditing\FrontendEditingController\getAllowedEditActions(), TYPO3\CMS\Backend\Search\LiveSearch\LiveSearch\getEditLink(), TYPO3\CMS\Core\Authentication\BackendUserAuthentication\getFileMountRecords(), TYPO3\CMS\Backend\Controller\BackendController\handlePageEditing(), TYPO3\CMS\Backend\Controller\PageLayoutController\isPageEditable(), TYPO3\CMS\Core\Authentication\BackendUserAuthentication\isPSet(), TYPO3\CMS\Backend\View\PageLayoutView\linkWrapItems(), TYPO3\CMS\Recordlist\Controller\RecordListController\main(), TYPO3\CMS\Backend\Controller\Page\SortSubPagesController\mainAction(), TYPO3\CMS\Backend\Controller\PageLayoutController\pageIsNotLockedForEditors(), TYPO3\CMS\Backend\Controller\Page\TreeController\pagesToFlatArray(), TYPO3\CMS\Backend\Form\Container\InlineRecordContainer\renderForeignRecordHeaderControl(), and TYPO3\CMS\Core\Authentication\BackendUserAuthentication\workspacePublishAccess().

◆ PAGE_NEW

◆ PAGE_SHOW

const TYPO3\CMS\Core\Type\Bitmask\Permission::PAGE_SHOW = 1

Definition at line 32 of file Permission.php.

Referenced by TYPO3\CMS\Backend\Search\LiveSearch\LiveSearch\__construct(), TYPO3\CMS\Backend\Form\Wizard\SuggestWizardDefaultReceiver\__construct(), TYPO3\CMS\Taskcenter\Controller\TaskModuleController\__construct(), TYPO3\CMS\Backend\Http\RouteDispatcher\addAndValidateModuleConfiguration(), TYPO3\CMS\Belog\Domain\Repository\LogEntryRepository\addPageTreeConstraintsToQuery(), TYPO3\CMS\Backend\Form\FormDataProvider\AbstractItemProvider\buildForeignTableQueryBuilder(), TYPO3\CMS\Core\Tests\Unit\Database\Query\Restriction\PagePermissionRestrictionTest\buildRestrictionsContainsNonAdminUserIdAsOwnerAndGroupIdsAsOwnerGroup(), TYPO3\CMS\Core\Tests\Unit\Database\Query\Restriction\PagePermissionRestrictionTest\buildRestrictionsIsSkippedForAdmins(), TYPO3\CMS\Core\Tests\Unit\Database\Query\Restriction\PagePermissionRestrictionTest\buildRestrictionsOnlyWorksOnPagesTable(), TYPO3\CMS\Core\Tests\Unit\Database\Query\Restriction\PagePermissionRestrictionTest\buildRestrictionsReturnsAZeroReturnSetWhenNotLoggedIn(), TYPO3\CMS\Workspaces\Authentication\PreviewUserAuthentication\calcPerms(), TYPO3\CMS\Backend\ContextMenu\ItemProviders\PageProvider\canBeCopied(), TYPO3\CMS\Backend\Form\Wizard\SuggestWizardDefaultReceiver\checkRecordAccess(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\checkRootlineForIncludeSection(), TYPO3\CMS\Core\Authentication\BackendUserAuthentication\checkWorkspace(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\determineId(), TYPO3\CMS\Impexp\View\ExportPageTreeView\ext_tree(), TYPO3\CMS\Backend\FrontendBackendUserAuthentication\extPageReadAccess(), TYPO3\CMS\Backend\Tree\Repository\PageTreeRepository\fetchAllPages(), TYPO3\CMS\Core\Authentication\BackendUserAuthentication\fetchGroupData(), TYPO3\CMS\Core\Authentication\BackendUserAuthentication\fetchGroups(), TYPO3\CMS\Backend\Controller\Page\TreeController\getAllEntryPointPageTrees(), TYPO3\CMS\Backend\Tree\Repository\PageTreeRepository\getChildPageRecords(), TYPO3\CMS\Backend\Controller\PageLayoutController\getHeaderFlashMessagesForCurrentPid(), TYPO3\CMS\Linkvalidator\Report\LinkValidatorReport\getPageList(), TYPO3\CMS\Workspaces\Authentication\PreviewUserAuthentication\getPagePermsClause(), TYPO3\CMS\Backend\View\PageLayoutView\getPageRecordsRecursive(), TYPO3\CMS\Backend\Utility\BackendUtility\getPreviewUrl(), TYPO3\CMS\Extbase\Configuration\BackendConfigurationManager\getRecursiveStoragePids(), TYPO3\CMS\Core\Database\QueryGenerator\getSelectQuery(), TYPO3\CMS\Backend\View\PageLayoutView\getTable_pages(), TYPO3\CMS\IndexedSearch\Domain\Repository\AdministrationRepository\getTree(), TYPO3\CMS\Recycler\Domain\Model\DeletedRecords\getTreeList(), TYPO3\CMS\Workspaces\Service\WorkspaceService\getTreeUids(), TYPO3\CMS\Adminpanel\Repositories\FrontendGroupsRepository\getUserGroupOptionCountByBackendUser(), TYPO3\CMS\Adminpanel\Repositories\FrontendGroupsRepository\getUserGroupsForPagesByBackendUser(), TYPO3\CMS\Recycler\Controller\RecyclerModuleController\handleRequest(), TYPO3\CMS\Backend\History\RecordHistory\hasPageAccess(), TYPO3\CMS\Backend\Tree\View\BrowseTreeView\init(), TYPO3\CMS\Backend\Controller\ContentElement\MoveElementController\init(), TYPO3\CMS\Backend\Controller\ContentElement\ElementInformationController\init(), TYPO3\CMS\Backend\Controller\ContentElement\NewContentElementController\init(), TYPO3\CMS\Backend\Module\BaseScriptClass\init(), TYPO3\CMS\Info\Controller\InfoModuleController\init(), TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateModuleController\init(), TYPO3\CMS\Recordlist\Controller\RecordListController\init(), TYPO3\CMS\Backend\Controller\PageLayoutController\init(), TYPO3\CMS\Impexp\Controller\ImportExportController\init(), TYPO3\CMS\Backend\Controller\NewRecordController\init(), TYPO3\CMS\Backend\Controller\EditDocumentController\init(), TYPO3\CMS\Linkvalidator\Report\LinkValidatorReport\initialize(), TYPO3\CMS\IndexedSearch\Controller\AdministrationController\initializeView(), TYPO3\CMS\Backend\Backend\Shortcut\ShortcutRepository\initShortcuts(), TYPO3\CMS\Core\Authentication\BackendUserAuthentication\isInWebMount(), TYPO3\CMS\Impexp\Task\ImportExportTask\main(), TYPO3\CMS\Info\Controller\TranslationStatusController\main(), TYPO3\CMS\Backend\Controller\Page\SortSubPagesController\mainAction(), TYPO3\CMS\Backend\Controller\Page\NewMultiplePagesController\mainAction(), TYPO3\CMS\Backend\Controller\ContentElement\ElementHistoryController\mainAction(), TYPO3\CMS\Core\Database\QueryGenerator\makeOptionList(), TYPO3\CMS\Workspaces\Hook\DataHandlerHook\moveRecord_wsPlaceholders(), TYPO3\CMS\Frontend\Middleware\PageResolver\process(), TYPO3\CMS\Backend\Form\Container\OuterWrapContainer\render(), TYPO3\CMS\Fluid\ViewHelpers\Be\TableListViewHelper\render(), TYPO3\CMS\Backend\Form\Container\InlineRecordContainer\renderForeignRecordHeaderControl(), TYPO3\CMS\Fluid\ViewHelpers\Be\PagePathViewHelper\renderStatic(), TYPO3\CMS\Fluid\ViewHelpers\Be\PageInfoViewHelper\renderStatic(), TYPO3\CMS\Recordlist\Browser\DatabaseBrowser\renderTableRecords(), TYPO3\CMS\Backend\Controller\ContentElement\ElementHistoryController\setPagePath(), TYPO3\CMS\Backend\View\PageLayoutView\start(), TYPO3\CMS\Workspaces\Controller\AjaxController\switchWorkspaceAction(), TYPO3\CMS\Linkvalidator\Report\LinkValidatorReport\updateBrokenLinks(), TYPO3\CMS\SysAction\ActionTask\viewEditRecord(), and TYPO3\CMS\SysAction\ActionTask\viewRecordList().