summaryrefslogtreecommitdiffstats
path: root/apps/files_external/lib/backend/smb_oc.php
diff options
context:
space:
mode:
authorRobin McCorkell <rmccorkell@owncloud.com>2015-09-17 10:24:19 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2015-09-23 12:10:02 +0200
commit38a260e963abd04b75aff8d67a8cf7b3b20a9c67 (patch)
treeeb118da0cdd9819657efa8fbf58c6c754c4cf19c /apps/files_external/lib/backend/smb_oc.php
parentee649d58c5f82ee209ddc1812c1a896da53de707 (diff)
downloadnextcloud-server-38a260e963abd04b75aff8d67a8cf7b3b20a9c67.tar.gz
nextcloud-server-38a260e963abd04b75aff8d67a8cf7b3b20a9c67.zip
Revert "Implement more fine-grained external storage permissions model"
This reverts commit 0b97a05e7bd631d66de1c2aee115113ada8a5f63. This reverts commit d2e3c17c0000bc0020f1ff641190452f370434de. This reverts commit cc88c5f4b84da57c425cbdb7dc8b391b1942b503.
Diffstat (limited to 'apps/files_external/lib/backend/smb_oc.php')
-rw-r--r--apps/files_external/lib/backend/smb_oc.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/apps/files_external/lib/backend/smb_oc.php b/apps/files_external/lib/backend/smb_oc.php
index d21b0ddaf42..a3f3a824040 100644
--- a/apps/files_external/lib/backend/smb_oc.php
+++ b/apps/files_external/lib/backend/smb_oc.php
@@ -51,8 +51,6 @@ class SMB_OC extends Backend {
(new DefinitionParameter('root', $l->t('Remote subfolder')))
->setFlag(DefinitionParameter::FLAG_OPTIONAL),
])
- ->removeAllowedPermission(BackendService::USER_PERSONAL, BackendService::PERMISSION_CREATE)
- ->removeAllowedPermission(BackendService::USER_ADMIN, BackendService::PERMISSION_CREATE)
->setPriority(BackendService::PRIORITY_DEFAULT - 10)
->addAuthScheme(AuthMechanism::SCHEME_PASSWORD)
->setLegacyAuthMechanism($legacyAuth)