‪TYPO3CMS  ‪main
TYPO3\CMS\Core\DataHandling\DataHandlerCheckModifyAccessListHookInterface Interface Reference
Inheritance diagram for TYPO3\CMS\Core\DataHandling\DataHandlerCheckModifyAccessListHookInterface:
TYPO3\CMS\Core\Resource\Security\FileMetadataPermissionsAspect TYPO3\CMS\Core\Resource\Security\FilePermissionAspect TYPO3\CMS\Core\Tests\Unit\DataHandling\Fixtures\AllowAccessHookFixture

Public Member Functions

 checkModifyAccessList (&$accessAllowed, $table, DataHandler $parent)
 

Detailed Description

Interface for hook in \TYPO3\CMS\Core\DataHandling\DataHandler::checkModifyAccessList

Definition at line 21 of file DataHandlerCheckModifyAccessListHookInterface.php.

Member Function Documentation

◆ checkModifyAccessList()

TYPO3\CMS\Core\DataHandling\DataHandlerCheckModifyAccessListHookInterface::checkModifyAccessList ( $accessAllowed,
  $table,
DataHandler  $parent 
)

Hook that determines whether a user has access to modify a table.

Parameters
bool$accessAllowed‪Whether the user has access to modify a table
string$table‪The name of the table to be modified
\TYPO3\CMS\Core\DataHandling\DataHandler$parent‪The calling parent object

Implemented in TYPO3\CMS\Core\Resource\Security\FileMetadataPermissionsAspect, TYPO3\CMS\Core\Resource\Security\FilePermissionAspect, and TYPO3\CMS\Core\Tests\Unit\DataHandling\Fixtures\AllowAccessHookFixture.