aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_external/service
diff options
context:
space:
mode:
authorRobin McCorkell <rmccorkell@owncloud.com>2015-08-28 16:50:10 +0100
committerRobin McCorkell <rmccorkell@owncloud.com>2015-08-28 17:43:30 +0100
commitd2e3c17c0000bc0020f1ff641190452f370434de (patch)
tree6fd57b85c452a84fc8ea73cc5c50e5969643edda /apps/files_external/service
parentf0c8cfa9a6a5db7134a2490cc562ff2623ce685d (diff)
downloadnextcloud-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.php3
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';