-
Notifications
You must be signed in to change notification settings - Fork 16
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
WIP: Better Handling for Permissions #367
Conversation
UI portion of dockstore/dockstore#1589 This has a dependency on PR dockstore/dockstore#1638, which has a new endpoint. Call new endpoint to get allowable actions. If SHARE action is one of the actions, then user is an owner, and go ahead and fetch all permissions for the workflow. Unfortunately, generated TS code doesn't generate a type for the enum returned by Actions.
@coverbeck Hmmm, seems like a legitimate failure |
Checking... |
Codecov Report
@@ Coverage Diff @@
## develop #367 +/- ##
==========================================
Coverage ? 64.93%
==========================================
Files ? 149
Lines ? 5059
Branches ? 509
==========================================
Hits ? 3285
Misses ? 1667
Partials ? 107 Continue to review full report at Codecov.
|
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.
Let's just punch it onto staging
UI portion of dockstore/dockstore#1589
This has a dependency on PR dockstore/dockstore#1638, which has a new
endpoint.
Call new endpoint to get allowable actions. If SHARE action is one
of the actions, then user is an owner, and go ahead and fetch all
permissions for the workflow.
Unfortunately, generated TS code doesn't generate a type for the enum
returned by Actions.