Skip to content

Commit

Permalink
Address review
Browse files Browse the repository at this point in the history
  • Loading branch information
amrita-shrestha committed Feb 7, 2023
1 parent 0b9134b commit 140681c
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 8 deletions.
4 changes: 4 additions & 0 deletions tests/acceptance/expected-failures-API-on-OCIS-storage.md
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,10 @@ cannot share a folder with create permission

#### [Public link enforce permissions](https://github.com/owncloud/ocis/issues/1269)

- [coreApiSharePublicLink1/accessToPublicLinkShare.feature:10](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiSharePublicLink1/accessToPublicLinkShare.feature#L10)
- [coreApiSharePublicLink1/accessToPublicLinkShare.feature:21](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiSharePublicLink1/accessToPublicLinkShare.feature#L21)
- [coreApiSharePublicLink1/accessToPublicLinkShare.feature:31](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiSharePublicLink1/accessToPublicLinkShare.feature#L31)
- [coreApiSharePublicLink1/accessToPublicLinkShare.feature:47](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiSharePublicLink1/accessToPublicLinkShare.feature#L47)
- [coreApiSharePublicLink1/createPublicLinkShare.feature:354](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiSharePublicLink1/createPublicLinkShare.feature#L354)

#### [download previews of other users file](https://github.com/owncloud/ocis/issues/2071)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@api @public_link_share-feature-required @files_sharing-app-required @issue-ocis-reva-282 @issue-4623 @notToImplementOnOCIS
@api @public_link_share-feature-required @files_sharing-app-required @issue-ocis-reva-282
Feature: accessing a public link share

Background:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ Feature: changing a public link share
And as "Alice" file "PARENT/parent.txt" <should-or-not> exist

Examples:
| permissions | http-status-code | should-or-not | public-webdav-api-version |
| read | 403 | should | new |
| read,create | 403 | should | new |
| create | 403 | should | new |
| read,update,create,delete | 204 | should not | new |
| permissions | http-status-code | should-or-not |
| read | 403 | should |
| read,create | 403 | should |
| create | 403 | should |
| read,update,create,delete | 204 | should not |


Scenario: Public link share permissions work correctly for renaming and share permissions read,update,create,delete using the public WebDAV API
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -347,8 +347,8 @@ Feature: create a public link share
And user "Alice" has created a public link share with settings
| path | PARENT |
| permissions | read |
And user "Alice" has deleted folder "PARENT"
When the public download of file "/parent.txt" from inside the last public link shared folder using the new public WebDAV API should fail with HTTP status code "404"
When user "Alice" has deleted folder "PARENT"
Then the public download of file "/parent.txt" from inside the last public link shared folder using the new public WebDAV API should fail with HTTP status code "404"

@issue-ocis-reva-292 @issue-ocis-reva-199
Scenario: try to download from a public share that has upload only permissions using the public webdav api
Expand Down

0 comments on commit 140681c

Please sign in to comment.