-
Notifications
You must be signed in to change notification settings - Fork 32
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
utils: add permission error for getting workflows #216
utils: add permission error for getting workflows #216
Conversation
142a09a
to
91c557a
Compare
6c9ec6c
to
0a7888a
Compare
Adds a table and an enum to the database. The `user_workflow` table makes it possible to verify whether a specific workflow has been shared with a user. The `accesstype` enum defines the different access types that can be granted to a user. For now, only `read` access is supported. Closes reanahub#206
Adds new `include_shared_workflows` parameter to optionally retrieve unowned workflows that are shared with the user. Closes reanahub/reana-client#687
0a7888a
to
d0793d9
Compare
Adds a table and an enum to the database. The `user_workflow` table makes it possible to verify whether a specific workflow has been shared with a user. The `accesstype` enum defines the different access types that can be granted to a user. For now, only `read` access is supported. Closes reanahub#206
Adds new `include_shared_workflows` parameter to optionally retrieve unowned workflows that are shared with the user. Closes reanahub/reana-client#687
d0793d9
to
a5726ff
Compare
a5726ff
to
c5b70c7
Compare
Adds a table and an enum to the database. The `user_workflow` table makes it possible to verify whether a specific workflow has been shared with a user. The `accesstype` enum defines the different access types that can be granted to a user. For now, only `read` access is supported. Closes reanahub#206
Adds new `include_shared_workflows` parameter to optionally retrieve unowned workflows that are shared with the user. Closes reanahub/reana-client#687
Latest version before rebase is a5726ff Two things left:
|
Adds a table and an enum to the database. The `user_workflow` table makes it possible to verify whether a specific workflow has been shared with a user. The `accesstype` enum defines the different access types that can be granted to a user. For now, only `read` access is supported. Closes reanahub#206
Adds new `include_shared_workflows` parameter to optionally retrieve unowned workflows that are shared with the user. Closes reanahub/reana-client#687
c5b70c7
to
bbbe345
Compare
Adds a table and an enum to the database. The `user_workflow` table makes it possible to verify whether a specific workflow has been shared with a user. The `accesstype` enum defines the different access types that can be granted to a user. For now, only `read` access is supported. Closes reanahub#206
Adds new `include_shared_workflows` parameter to optionally retrieve unowned workflows that are shared with the user. Closes reanahub/reana-client#687
bbbe345
to
3b73082
Compare
Ready to be reviewed, squashed and merged |
3b73082
to
0f3c091
Compare
Agreed, I'll remove it for now before merging. (Kept local copy just in case.) |
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.
Works nicely 👍 with
- r-client #692
- r-client-go #153
- r-ui #375
- r-server #658
- r-workflow-controller #552
- r-commons #429
- r-db #216
Removed the PermissionError
commit and kept it locally.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #216 +/- ##
==========================================
+ Coverage 73.31% 73.76% +0.45%
==========================================
Files 7 7
Lines 918 930 +12
==========================================
+ Hits 673 686 +13
+ Misses 245 244 -1
|
Closes reanahub/reana-server#651, closes reanahub/reana-server#650