Skip to content

fix overwriting shared files field without permission#808

Merged
binsky08 merged 1 commit intomasterfrom
fix-shared-files-behaviour
Jan 3, 2024
Merged

fix overwriting shared files field without permission#808
binsky08 merged 1 commit intomasterfrom
fix-shared-files-behaviour

Conversation

@binsky08
Copy link
Collaborator

@binsky08 binsky08 commented Dec 31, 2023

Fixes server bug:

When updating a credential shared with me (but without files permission) i don't get files from server. That's fine, but on update request (also without the files field) the server side files field will be cleared. That's bad. If the request has a files field, it would just overwrite the old one, without permission check.

@binsky08 binsky08 requested a review from animalillo December 31, 2023 16:18
@binsky08 binsky08 merged commit 9dcd49d into master Jan 3, 2024
@delete-merged-branch delete-merged-branch bot deleted the fix-shared-files-behaviour branch January 3, 2024 16:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant