diff options
author | provokateurin <kate@provokateurin.de> | 2025-02-18 16:36:28 +0100 |
---|---|---|
committer | provokateurin <kate@provokateurin.de> | 2025-03-04 08:00:59 +0100 |
commit | 3ca39e3d948c9cd52dd8d58eacabf47498838e96 (patch) | |
tree | 9cb6fdc06e429fa9885721b74b49bf69afad7837 /build | |
parent | c4b98bf8e78ce40fdae002369a87d672dfc8b910 (diff) | |
download | nextcloud-server-3ca39e3d948c9cd52dd8d58eacabf47498838e96.tar.gz nextcloud-server-3ca39e3d948c9cd52dd8d58eacabf47498838e96.zip |
fix(Share20): Convert broken hooks to IEventListener
Signed-off-by: provokateurin <kate@provokateurin.de>
Diffstat (limited to 'build')
-rw-r--r-- | build/integration/sharing_features/sharing-v1-part2.feature | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/build/integration/sharing_features/sharing-v1-part2.feature b/build/integration/sharing_features/sharing-v1-part2.feature index d7cc320aee6..b37b417206b 100644 --- a/build/integration/sharing_features/sharing-v1-part2.feature +++ b/build/integration/sharing_features/sharing-v1-part2.feature @@ -541,6 +541,29 @@ Feature: sharing And the HTTP status code should be "200" And last share_id is included in the answer + Scenario: Group shares are deleted when the group is deleted + Given As an "admin" + And user "user0" exists + And user "user1" exists + And group "group0" exists + And user "user0" belongs to group "group0" + And file "textfile0.txt" of user "user1" is shared with group "group0" + And As an "user0" + When sending "GET" to "/apps/files_sharing/api/v1/shares?shared_with_me=true" + Then the OCS status code should be "100" + And the HTTP status code should be "200" + And last share_id is included in the answer + When group "group0" does not exist + Then sending "GET" to "/apps/files_sharing/api/v1/shares?shared_with_me=true" + And the OCS status code should be "100" + And the HTTP status code should be "200" + And last share_id is not included in the answer + When group "group0" exists + Then sending "GET" to "/apps/files_sharing/api/v1/shares?shared_with_me=true" + And the OCS status code should be "100" + And the HTTP status code should be "200" + And last share_id is not included in the answer + Scenario: User is not allowed to reshare file As an "admin" Given user "user0" exists |