Issue Bug Closed

#84554User that has NO permission in group to delete files or folders in FAL can delete files and folders anyway

Angelo Previtali 03/29/18, 11:24 updated 03/07/19, 15:04

Description

By setting up a storage and a brandnew user and removing the group the permission to just READ files and NOT to delete those the user can delete files or folders anyway. That shouldn’t be!

I tried it to set it in the BE user group
be-ansicht-gruppe-redaktoren.png

and by deny him the permissions in the files and folder permissions by disable this on

redaktoreneinstellungen.png

plus adding the PageTS Script to disallow him to deny the user on the shared storage (i.e. the storage 1)

permissions.file.storage.1 {
   addFile      = 1
   readFile     = 1
   writeFile    = 0
   copyFile     = 0
   moveFile     = 0
   renameFile   = 0
   unzipFile    = 0
   deleteFile   = 0
   addFolder    = 0
   readFolder   = 0
   writeFolder  = 0
   copyFolder   = 0
   moveFolder   = 0
   renameFolder = 0
   deleteFolder = 1
   recursivedeleteFolder = 0
}

But afterthat the user is still able to DELETE files and folders everywhere!

fileadmin-icons.png

The set upped permission seems not to work at all! No matter what you set as permissions – nothing works!

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.