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

WIP: Better Handling for Permissions #367

Merged
merged 5 commits into from
Jul 27, 2018
Merged

Conversation

coverbeck
Copy link
Collaborator

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.

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.
@denis-yuen
Copy link
Member

denis-yuen commented Jul 27, 2018

@coverbeck Hmmm, seems like a legitimate failure
Note that this seems to not specify a permissions backend, is it defaulting to the no-op back-end and the test is failing because of that?

@coverbeck
Copy link
Collaborator Author

Checking...

@codecov
Copy link

codecov bot commented Jul 27, 2018

Codecov Report

❗ No coverage uploaded for pull request base (develop@71fe6b2). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@            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.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 71fe6b2...e722716. Read the comment docs.

Copy link
Member

@denis-yuen denis-yuen left a 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

@coverbeck coverbeck merged commit 9e3a806 into develop Jul 27, 2018
@coverbeck coverbeck deleted the feature/1589/actions branch July 27, 2018 18:04
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.

4 participants