-
Notifications
You must be signed in to change notification settings - Fork 40
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
Allow sharing permissions by ORCID #3196
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #3196 +/- ##
==========================================
+ Coverage 44.45% 44.72% +0.26%
==========================================
Files 592 590 -2
Lines 37861 37835 -26
Branches 1131 1138 +7
==========================================
+ Hits 16830 16920 +90
+ Misses 20831 20717 -114
+ Partials 200 198 -2 ☔ View full report in Codecov by Sentry. |
@nellh - I know you are updating a few tests so send this back when you have those. in addition here is a small note, when removing perms, the client/ui doesn't update the state for visual feedback until a refresh. After a confirmed removal After refresh |
Thanks! That's because the remove mutation has the same issue we discussed where the API should return the entire fragment it modifies (all permissions instead of just the user) to update the client cache. I think that's a good bug to note (#3198) now that this generally fixes the client state issues with adding/removing permissions. |
@thinknoack Added the test case we discussed in 85ddbfc. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
*Approving with small note
I have reviewed the code/file changes and tested with emails for both a new user and a original upload user. That all looks great.
*note - I will not be able to test the ORCID integration until I get my sandbox sorted out.
Adds the option to add dataset permissions via ORCID.
Fixes #3190.