Skip to content

tests: check access of guests and sharees outside of the shared resource - #3771

Merged
v-scharf merged 2 commits into
mainfrom
test/guest-links-security-more
Nov 25, 2026
Merged

v-scharf merged 2 commits into
mainfrom
test/guest-links-security-more

Conversation

@v-scharf

Copy link
Copy Markdown
Contributor

More acceptance tests for guest links and sharees:

  • guest: Viewer role, share root delete/rename, archiver (also shares of different users), copy/move between shares
  • sharee: no access to the owner's space using the drive id from sharedWithMe

Bugs found (expected failures):

@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@v-scharf
v-scharf force-pushed the test/guest-links-security-more branch from e1ca121 to d5ca07e Compare October 20, 2026 14:59
@v-scharf
v-scharf requested a review from saw-jan October 22, 2026 13:53
@v-scharf
v-scharf force-pushed the test/guest-links-security-more branch from d5ca07e to e86b31c Compare November 23, 2026 13:39
@v-scharf
v-scharf force-pushed the test/guest-links-security-more branch from e86b31c to c851397 Compare November 23, 2026 20:53
@v-scharf
v-scharf requested a review from saw-jan November 23, 2026 20:53

@saw-jan saw-jan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should avoid using setResponse in the helpers and Given/Then step methods and only use inside the When steps.
Just to prevent the unknowns. Though the When step failed, test assertion in the Then step might pass because it is using the response saved either by helpers or Given steps.

Others look good 👍

@v-scharf

v-scharf commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor Author

we should avoid using setResponse in the helpers and Given/Then step methods and only use inside the When steps.

good point, thank you! I added new PR #4121 where I changed it too

@v-scharf
v-scharf enabled auto-merge (squash) November 25, 2026 10:12
@v-scharf
v-scharf merged commit 32e72ca into main Nov 25, 2026
52 checks passed
@v-scharf
v-scharf deleted the test/guest-links-security-more branch November 25, 2026 10:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants