Skip to content
Massimo Melina edited this page Jun 22, 2023 · 21 revisions

File permissions are set in Admin-panel > Shared files, by using the "Who can..." fields, or the "Masks" field.

Masks is a field where you associate some attributes (like can-delete) to some files/folders specified by a mask (like *.jpg) .

The masks field is actually able to do anything, but the who-can fields are much easier to use, so you should try to use the latter whenever possible and recur to masks only when necessary. The who-can fields are quite easy to understand, trickier cases are the ones that require the use of masks.

Examples

Forbid zip files in a folder

Select the folder and enter these rules in the Masks field

"*.zip":
  can_read: false

Forbid zip files in a folder and its subfolders

Select the folder and enter these rules in the Masks field

"**.zip":
  can_read: false

** is like * but applies to subfolders too.

Allow zip files in a folder but not others

Select the folder and enter these rules in the Masks field

"*.zip":
  can_read: true
"*":
  can_read: false
Clone this wiki locally