Skip to content

Commit

Permalink
Merge pull request #11089 from owncloud/refactor-PR
Browse files Browse the repository at this point in the history
[tests-only][full-ci]Refactor step  related to sharee access to expired shared resource
  • Loading branch information
saw-jan authored Mar 3, 2025
2 parents a930c95 + befd2e0 commit 715f2d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -328,13 +328,9 @@ The expected failures in this file are from features in the owncloud/ocis repo.
#### [[OCM] Users can invite themselves to their own federated connection](https://github.com/owncloud/ocis/issues/11004)
- [apiOcm/acceptInvitation.feature:148](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiOcm/acceptInvitation.feature#L148)

#### [[OCM] Sharee can access expired federated share](https://github.com/owncloud/ocis/issues/11033)
- [apiOcm/share.feature:1158](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiOcm/share.feature#L1158)
- [apiOcm/share.feature:1178](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiOcm/share.feature#L1178)

#### [[OCM] Hide & Enable Sync fail with received federated shares](https://github.com/owncloud/ocis/issues/10719)
- [apiOcm/share.feature:1198](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiOcm/share.feature#L1198)
- [apiOcm/share.feature:1222](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiOcm/share.feature#L1222)
- [apiOcm/share.feature:1190](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiOcm/share.feature#L1190)
- [apiOcm/share.feature:1214](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiOcm/share.feature#L1214)

#### [[OCM] federated user trying to download file shared with permissions role Secure Viewer returns 500 status code](https://github.com/owncloud/ocis/issues/10822)
- [apiOcm/enableDisablePermissionsRole.feature:18](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiOcm/enableDisablePermissionsRole.feature#L18)
Expand Down
8 changes: 0 additions & 8 deletions tests/acceptance/features/apiOcm/share.feature
Original file line number Diff line number Diff line change
Expand Up @@ -1168,11 +1168,7 @@ Feature: an user shares resources using ScienceMesh application
When user "Alice" expires the last share of resource "textfile.txt" inside of the space "Personal"
Then the HTTP status code should be "200"
And using server "REMOTE"
When user "Brian" updates the content of federated share "textfile.txt" with "this is a new content" using the WebDAV API
Then the HTTP status code should be "404"
And user "Brian" should not have a federated share "textfile.txt" shared by user "Alice" from space "Personal"
And using server "LOCAL"
And for user "Alice" the content of the file "textfile.txt" of the space "Personal" should be "ocm test"

@issue-11033
Scenario: external sharee shouldn't be able to the access folder when federated share expires
Expand All @@ -1188,11 +1184,7 @@ Feature: an user shares resources using ScienceMesh application
When user "Alice" expires the last share of resource "folderToShare" inside of the space "Personal"
Then the HTTP status code should be "200"
And using server "REMOTE"
When user "Brian" uploads a file with content "lorem" to "file.txt" inside federated share "folderToShare" via TUS using the WebDAV API
Then the HTTP status code should be "404"
And user "Brian" should not have a federated share "folderToShare" shared by user "Alice" from space "Personal"
And using server "LOCAL"
And as "Alice" file "folderToShare/file.txt" should not exist

@issue-10719
Scenario: federated user hides the file shared by local user
Expand Down

0 comments on commit 715f2d4

Please sign in to comment.