nextcloud/apps/files_sharing/tests
Roeland Jago Douma 965981486f
Fixes not allowed increasing of link share permissions
Fixes the following:

1. user0 shares folder with user1 (RO but with sharing permissions)
2. user1 shares by link
3. user1 send 'publicUpload=true' OCS request to the link share

before this increased the permissions of the link share. Which should
not happen.

now: API reponds with an error that the permissions can't be increased.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2016-11-13 20:29:34 +01:00
..
Controller Fixes not allowed increasing of link share permissions 2016-11-13 20:29:34 +01:00
External more robust test setup 2016-10-12 16:12:34 +02:00
Middleware Fix tests 2016-10-24 13:25:59 +02:00
js Add tests 2016-11-07 21:02:23 +01:00
ActivityTest.php Fix apps/ 2016-07-21 18:13:57 +02:00
ApiTest.php unit tests updated and new added 2016-11-01 19:54:41 +01:00
BackendTest.php Move Share backends to PSR-4 instead of using class path (#24941) 2016-08-05 14:13:41 +02:00
CacheTest.php Move OC\Files\Storage\Shared to the right namespace 2016-10-20 20:27:44 +02:00
CapabilitiesTest.php remove 'send mail notification' option from sharing, replaced by send-by-mail feature 2016-11-02 18:30:38 +01:00
DeleteOrphanedSharesJobTest.php Fix apps/ 2016-07-21 18:13:57 +02:00
EncryptedSizePropagationTest.php Update with robin 2016-07-21 18:13:58 +02:00
EtagPropagationTest.php Generate coverage for quick DB tests 2016-10-05 13:55:44 +02:00
ExpireSharesJobTest.php Fix apps/ 2016-07-21 18:13:57 +02:00
ExternalStorageTest.php Inject IHTTPClientService 2016-09-29 00:26:20 +02:00
GroupEtagPropagationTest.php Fix post_unshareFromSelf hook parameter format 2016-10-20 16:09:08 +02:00
HelperTest.php Fix apps/ 2016-07-21 18:13:57 +02:00
LockingTest.php Update with robin 2016-07-21 18:13:58 +02:00
MigrationTest.php remove the 'shareapi_allow_mail_notification' setting 2016-11-02 21:17:05 +01:00
MountProviderTest.php Fix getMock files_sharing 2016-09-06 09:29:27 +02:00
PermissionsTest.php Update with robin 2016-07-21 18:13:58 +02:00
PropagationTestCase.php Update with robin 2016-07-21 18:13:58 +02:00
ShareTest.php Cleanup OC_Group usage a bit 2016-11-04 20:55:47 +01:00
SharedMountTest.php Cleanup OC_Group usage a bit 2016-11-04 20:55:47 +01:00
SharedStorageTest.php Move OC\Files\Storage\Shared to the right namespace 2016-10-20 20:27:44 +02:00
SizePropagationTest.php remove duplicate trait 2016-10-12 16:12:38 +02:00
TestCase.php Move OC\Files\Storage\Shared to the right namespace 2016-10-20 20:27:44 +02:00
UnshareChildrenTest.php Update with robin 2016-07-21 18:13:58 +02:00
UpdaterTest.php Fix tests 2016-10-31 17:17:45 +01:00
WatcherTest.php Update with robin 2016-07-21 18:13:58 +02:00