2 namespace TYPO3\CMS\Core\Resource\Security;
18 use TYPO3\CMS\Core\Resource\Exception\FolderDoesNotExistException;
65 if (!$this->backendUserAuthentication->isAdmin()) {
67 if ($storage->
getUid() > 0) {
68 $storage->
setUserPermissions($this->backendUserAuthentication->getFilePermissionsForStorage($storage));
84 foreach ($this->backendUserAuthentication->getFileMountRecords() as $fileMountRow) {
85 if ((
int)$fileMountRow[
'base'] === (int)$storage->
getUid()) {
87 $storage->
addFileMount($fileMountRow[
'path'], $fileMountRow);