Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Avoid setting user scope for share links #2899

Merged
merged 1 commit into from Apr 6, 2023

Conversation

juliushaertl
Copy link
Member

@juliushaertl juliushaertl commented Apr 5, 2023

fix #2896

Setting the current user on public share links doesn't work for file operations as the storage backend does not consider this case. Any operation on share links are considered to be performed by guest users. Therefore we cannot set the editing user.

For files in the user folder this is already set further below.

Signed-off-by: Julius Härtl <jus@bitgrid.net>
@cypress
Copy link

cypress bot commented Apr 5, 2023

Passing run #240 ↗︎

0 25 0 0 Flakiness 0

Details:

fix: Avoid setting user scope for share links
Project: Richdocuments Commit: 62267bb4b8
Status: Passed Duration: 02:42 💡
Started: Apr 5, 2023 5:29 PM Ended: Apr 5, 2023 5:31 PM

This comment has been generated by cypress-bot as a result of this project's GitHub integration settings.

@juliushaertl juliushaertl marked this pull request as ready for review April 5, 2023 18:11
@juliushaertl juliushaertl added bug Something isn't working 3. to review Ready to be reviewed labels Apr 5, 2023
@juliushaertl juliushaertl merged commit 4e0cf9d into main Apr 6, 2023
43 checks passed
@delete-merged-branch delete-merged-branch bot deleted the bugfix/user-share-link branch April 6, 2023 09:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Ready to be reviewed bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

WOPI test failures
2 participants