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

add TODOs for userid lookup in storage drivers #998

Closed

Conversation

butonic
Copy link
Contributor

@butonic butonic commented Jul 24, 2020

Currently, all storage drivers use the username to build a cs3 userid, which is incorrect. The UserId.OpaqueId is different from the username.

The solution is to look up the userid at the user provider, which would also address #964 needs a new CS3 call AFAICT

I tried marking relevant places in the code. The first step for really treating username and uid differently is in #996

I think this is also needed for OCM because we need to have a stable federated sharing id, which is differnt from the username because it actually should never change ...

Let me know what you think.

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
@butonic butonic requested a review from labkode as a code owner July 24, 2020 07:38
@update-docs
Copy link

update-docs bot commented Jul 24, 2020

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.

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.

2 participants