Skip to content

Commit 0cf56be

Browse files
authored
Merge pull request #10132 from owncloud/tests-any-user-api-activities
[tests-only][full-ci] add tests to check api activities of a user's file by any user
2 parents 0dc9811 + 9082a51 commit 0cf56be

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tests/acceptance/features/apiActivities/activities.feature

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2028,3 +2028,11 @@ Feature: check activities
20282028
}
20292029
}
20302030
"""
2031+
2032+
@issue-9860
2033+
Scenario: user tries to check activities of another user's file
2034+
Given user "Brian" has been created with default attributes and without skeleton files
2035+
And user "Alice" has uploaded file with content "ownCloud test text file" to "textfile.txt"
2036+
And user "Alice" has uploaded file with content "updated ownCloud test text file" to "textfile.txt"
2037+
When user "Brian" tries to list the activities of file "textfile.txt" from space "Personal" owned by user "Alice" using the Graph API
2038+
Then the HTTP status code should be "403"

0 commit comments

Comments
 (0)