Skip to content

Commit

Permalink
Merge pull request #10132 from owncloud/tests-any-user-api-activities
Browse files Browse the repository at this point in the history
[tests-only][full-ci] add tests to check api activities of a user's file by any user
  • Loading branch information
saw-jan authored Oct 2, 2024
2 parents 0dc9811 + 9082a51 commit 0cf56be
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/acceptance/features/apiActivities/activities.feature
Original file line number Diff line number Diff line change
Expand Up @@ -2028,3 +2028,11 @@ Feature: check activities
}
}
"""

@issue-9860
Scenario: user tries to check activities of another user's file
Given user "Brian" has been created with default attributes and without skeleton files
And user "Alice" has uploaded file with content "ownCloud test text file" to "textfile.txt"
And user "Alice" has uploaded file with content "updated 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 0cf56be

Please sign in to comment.