[BUGFIX] Take into account all file and folder permissions
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Classes / Authentication / BackendUserAuthentication.php
index 164d2c3..7c6cb35 100644 (file)
@@ -1616,6 +1616,8 @@ class BackendUserAuthentication extends \TYPO3\CMS\Core\Authentication\AbstractU
                                                $defaultOptions['moveFile'] = FALSE;
                                                $defaultOptions['renameFile'] = FALSE;
                                                $defaultOptions['removeFile'] = FALSE;
+                                               $defaultOptions['editFile'] = FALSE;
+                                               $defaultOptions['writeFile'] = FALSE;
                                        }
                                        if ($oldFileOperationPermissions ^ 2) {
                                                $defaultOptions['unzipFile'] = FALSE;
@@ -1625,6 +1627,7 @@ class BackendUserAuthentication extends \TYPO3\CMS\Core\Authentication\AbstractU
                                                $defaultOptions['moveFolder'] = FALSE;
                                                $defaultOptions['renameFolder'] = FALSE;
                                                $defaultOptions['removeFolder'] = FALSE;
+                                               $defaultOptions['writeFolder'] = FALSE;
                                        }
                                        if ($oldFileOperationPermissions ^ 8) {
                                                $defaultOptions['copyFolder'] = FALSE;