diff options
author | Björn Schießle <bjoern@schiessle.org> | 2015-05-26 16:51:30 +0200 |
---|---|---|
committer | Björn Schießle <bjoern@schiessle.org> | 2015-05-26 16:51:30 +0200 |
commit | a3b53a7738290d76126ebffca98fa2a2db93aaa9 (patch) | |
tree | b29d2a2aca0e26931006b23db5fb12b7ae4558d6 /apps/files_sharing | |
parent | 94f7b3e25ca830b62cfe6221fed2ba03ea3ab75f (diff) | |
parent | 609da64c3bc816a1d7f7599b39a693fb9913088b (diff) | |
download | nextcloud-server-a3b53a7738290d76126ebffca98fa2a2db93aaa9.tar.gz nextcloud-server-a3b53a7738290d76126ebffca98fa2a2db93aaa9.zip |
Merge pull request #16496 from owncloud/stable8-share-readonlyfile-permissions
[stable8] Do not automatically add "update" permission to shared mounts
Diffstat (limited to 'apps/files_sharing')
-rw-r--r-- | apps/files_sharing/tests/sharedstorage.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/files_sharing/tests/sharedstorage.php b/apps/files_sharing/tests/sharedstorage.php index f840b9b964f..119f10f430a 100644 --- a/apps/files_sharing/tests/sharedstorage.php +++ b/apps/files_sharing/tests/sharedstorage.php @@ -182,9 +182,8 @@ class Test_Files_Sharing_Storage extends OCA\Files_sharing\Tests\TestCase { // for the share root we expect: // the shared permissions (1) // the delete permission (8), to enable unshare - // the update permission (2), to allow renaming of the mount point $rootInfo = \OC\Files\Filesystem::getFileInfo($this->folder); - $this->assertSame(11, $rootInfo->getPermissions()); + $this->assertSame(9, $rootInfo->getPermissions()); // for the file within the shared folder we expect: // the shared permissions (1) |