Skip to content

Commit

Permalink
add tests for any user trying to check api activities
Browse files Browse the repository at this point in the history
Signed-off-by: prashant-gurung899 <[email protected]>
  • Loading branch information
prashant-gurung899 committed Sep 26, 2024
1 parent a39c38f commit bb403c8
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1120,3 +1120,9 @@ Feature: check share activity
| permissionsRole | Viewer |
When user "Brian" tries to list the activities of file "anotherTextfile.txt" from space "Personal" owned by user "Alice" using the Graph API
Then the HTTP status code should be "403"


Scenario: any user tries to check activities of another user's file
Given user "Alice" has uploaded file with content "ownCloud test text file" to "textfile.txt"
When user "Brian" tries to list the activities of file "textfile.txt" from space "Personal" owned by user "Alice" using the Graph API
Then the HTTP status code should be "403"

0 comments on commit bb403c8

Please sign in to comment.