TYPO3
7.6
|
Public Member Functions | |
__construct ($backendUserAuthentication=null) | |
addUserPermissionsToStorage (ResourceFactory $resourceFactory, ResourceStorage $storage) | |
Protected Member Functions | |
addFileMountsToStorage (ResourceStorage $storage) | |
Protected Attributes | |
$backendUserAuthentication | |
$defaultStorageZeroPermissions | |
Class StoragePermissionsAspect
We do not have AOP in TYPO3 for now, thus the acspect which deals with resource security is a slot which reacts on a signal on storage object creation.
The aspect injects user permissions and mount points into the storage based on user or group configuration.
Definition at line 32 of file StoragePermissionsAspect.php.
__construct | ( | $backendUserAuthentication = null | ) |
BackendUserAuthentication | null | $backendUserAuthentication |
Definition at line 51 of file StoragePermissionsAspect.php.
References StoragePermissionsAspect\$backendUserAuthentication, and $GLOBALS.
|
protected |
Adds file mounts from the user's file mount records
ResourceStorage | $storage |
Definition at line 82 of file StoragePermissionsAspect.php.
References ResourceStorage\addFileMount(), and ResourceStorage\getUid().
Referenced by StoragePermissionsAspect\addUserPermissionsToStorage().
addUserPermissionsToStorage | ( | ResourceFactory | $resourceFactory, |
ResourceStorage | $storage | ||
) |
The slot for the signal in ResourceFactory where storage objects are created
ResourceFactory | $resourceFactory | |
ResourceStorage | $storage |
Definition at line 63 of file StoragePermissionsAspect.php.
References StoragePermissionsAspect\addFileMountsToStorage(), ResourceStorage\getUid(), ResourceStorage\setEvaluatePermissions(), and ResourceStorage\setUserPermissions().
|
protected |
Definition at line 37 of file StoragePermissionsAspect.php.
Referenced by StoragePermissionsAspect\__construct().
|
protected |
Definition at line 42 of file StoragePermissionsAspect.php.