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

return the users username instead of the uuid in share responses #1365

Closed
wants to merge 1 commit into from

Conversation

C0rby
Copy link
Contributor

@C0rby C0rby commented Dec 9, 2020

A while ago we decided to use the users uuid only internally and to only display or return the users username. The ocs share api did still return the uuid.

Closes owncloud/ocis#990

@C0rby C0rby requested a review from labkode as a code owner December 9, 2020 12:07
@C0rby C0rby requested review from refs and kulmann December 9, 2020 12:07
@C0rby C0rby self-assigned this Dec 9, 2020
refs
refs previously approved these changes Dec 9, 2020
Copy link
Member

@refs refs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 my only concern is that UserServiceUserIDResolver returns a (string, error) tuple. I see how this is useful for consensus and have a resp.User.Username everywhere instead of a UUID I find that a more generic / higher-level API would fit better for a larger project. The conversions package by definition is convoluted.

@C0rby C0rby force-pushed the change/ocs-share-api-userid branch 3 times, most recently from b5098b8 to fcb36cc Compare December 9, 2020 16:16
@C0rby
Copy link
Contributor Author

C0rby commented Dec 9, 2020

This PR doesn't seem to trigger drone builds anymore...

@phil-davis
Copy link
Contributor

PR #1364 also has no drone.
I raised PR #1366 just now. No drone happened there either.
It seems a recent problem! I asked: #1366 (comment)

Maybe also ask in chat somewhere?

@C0rby
Copy link
Contributor Author

C0rby commented Dec 10, 2020

So I ran the two of the failed pipelines locally using drone exec and they ran successfully. :)

@C0rby C0rby force-pushed the change/ocs-share-api-userid branch from fcb36cc to a712017 Compare December 15, 2020 14:07
@C0rby C0rby force-pushed the change/ocs-share-api-userid branch from a712017 to 1af72bb Compare December 15, 2020 14:37
@C0rby
Copy link
Contributor Author

C0rby commented Dec 15, 2020

Closing because of PR against the unsafe branch #1370

@C0rby C0rby closed this Dec 15, 2020
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.

[oC-Web] sharing broken in shared with others view
3 participants