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

rest: add get_workflow_share_status endpoint #644

Closed

Conversation

DaanRosendal
Copy link
Member

Adds a new endpoint to retrieve whom a workflow is shared with.

Closes reanahub/reana-client#686

Adds a new endpoint to share a workflow with a user.

Closes reanahub/reana-client#680
Adds a new endpoint to unshare a workflow.

Closes reanahub/reana-client#681
Adds a new endpoint to retrieve whom a workflow is shared with.

Closes reanahub/reana-client#686
mdonadoni
mdonadoni previously approved these changes Jan 10, 2024
@@ -3608,3 +3608,132 @@ def unshare_workflow(workflow_id_or_name, user, user_email_to_unshare_with):
except Exception as e:
logging.exception(str(e))
return jsonify({"message": str(e)}), 500


@blueprint.route("/workflows/<workflow_id_or_name>/share-status", methods=["GET"])
Copy link
Member

Choose a reason for hiding this comment

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

As for reana-workflow-controller, share-status -> share_status

@mdonadoni mdonadoni dismissed their stale review January 10, 2024 10:20

wrong approval

@mdonadoni
Copy link
Member

Included in #658

@mdonadoni mdonadoni closed this Aug 20, 2024
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.

cli: implement new share-status command
2 participants