diff options
author | Robin McCorkell <rmccorkell@owncloud.com> | 2015-08-28 16:50:10 +0100 |
---|---|---|
committer | Robin McCorkell <rmccorkell@owncloud.com> | 2015-08-28 17:43:30 +0100 |
commit | d2e3c17c0000bc0020f1ff641190452f370434de (patch) | |
tree | 6fd57b85c452a84fc8ea73cc5c50e5969643edda /apps/files_external/service | |
parent | f0c8cfa9a6a5db7134a2490cc562ff2623ce685d (diff) | |
download | nextcloud-server-d2e3c17c0000bc0020f1ff641190452f370434de.tar.gz nextcloud-server-d2e3c17c0000bc0020f1ff641190452f370434de.zip |
Introduce MODIFY permission for external storages
Diffstat (limited to 'apps/files_external/service')
-rw-r--r-- | apps/files_external/service/backendservice.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/files_external/service/backendservice.php b/apps/files_external/service/backendservice.php index d9a3e316ce4..70cb9291660 100644 --- a/apps/files_external/service/backendservice.php +++ b/apps/files_external/service/backendservice.php @@ -35,8 +35,9 @@ class BackendService { const PERMISSION_NONE = 0; const PERMISSION_MOUNT = 1; const PERMISSION_CREATE = 2; + const PERMISSION_MODIFY = 4; - const PERMISSION_DEFAULT = 3; // MOUNT | CREATE + const PERMISSION_DEFAULT = 7; // MOUNT | CREATE | MODIFY /** User contants */ const USER_ADMIN = 'admin'; |