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

Don't assume user type on shares but resolve it each time #5

Merged
merged 4 commits into from
Oct 10, 2024

Conversation

glpatcern
Copy link
Member

@glpatcern glpatcern commented Sep 26, 2024

This PR relates to cs3org/reva#4849

Prior to merge this, we need to ensure the Authorization (Grappa) API allows us to see the activeUser field.

We may need some optimization here as every single share manipulation now costs a user lookup, which yes it's cached but still requires going out to the user provider and to Redis. An option is to store it in the db, next to share_with.

@glpatcern glpatcern requested review from labkode and diocas September 26, 2024 17:23
@glpatcern glpatcern marked this pull request as draft September 26, 2024 17:23
@glpatcern glpatcern marked this pull request as ready for review October 1, 2024 06:47
@glpatcern
Copy link
Member Author

Tested in QA

@glpatcern glpatcern merged commit 9d234d3 into master Oct 10, 2024
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