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

Drop assumptions about user types when dealing with shares #4849

Merged
merged 3 commits into from
Oct 11, 2024

Conversation

glpatcern
Copy link
Member

@glpatcern glpatcern commented Sep 17, 2024

We may have external accounts with regular usernames (and with null uid), therefore the current logic to heuristically infer the user type from a grantee's username is broken.

This PR removes those heuristics and requires the upper level to resolve the user type. A corresponding PR is in due course for the cernbox plugins to honor that.

Copy link

update-docs bot commented Sep 17, 2024

Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes.

@glpatcern glpatcern changed the title cernbox: fix shares to external accounts Drop assumptions about user types when dealing with shares Sep 26, 2024
glpatcern added a commit to cernbox/reva-plugins that referenced this pull request Sep 26, 2024
@glpatcern glpatcern merged commit 716e6b8 into cs3org:master Oct 11, 2024
16 checks passed
@glpatcern glpatcern deleted the lwshares-fix branch October 17, 2024 10:01
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