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: create endpoint to fetch who shared workflows with the user #648

Open
1 task
DaanRosendal opened this issue Nov 30, 2023 · 0 comments · May be fixed by #653 or reanahub/reana-commons#429
Open
1 task

rest: create endpoint to fetch who shared workflows with the user #648

DaanRosendal opened this issue Nov 30, 2023 · 0 comments · May be fixed by #653 or reanahub/reana-commons#429
Assignees

Comments

@DaanRosendal
Copy link
Member

The web UI needs a way to fetch who has shared workflows with the user so that the user can filter their workflow list based on that.

Recommended steps to retrieve the desired list of users:

  1. Query the user_workflow table for the IDs of workflows which are shared with the user
  2. Query the workflow table distinctly for the owner_id's of workflows shared with the user
  3. Query the user_ table for all owner_id's to select relevant data (email, full_name, username)
  • To decide: What data should be returned for each owner? email, full_name, username or all?
@DaanRosendal DaanRosendal self-assigned this Nov 30, 2023
@DaanRosendal DaanRosendal added this to Backlog in Workflow-Sharing Nov 30, 2023
@DaanRosendal DaanRosendal moved this from Backlog to In work in Workflow-Sharing Nov 30, 2023
DaanRosendal added a commit to DaanRosendal/reana-server that referenced this issue Dec 1, 2023
Adds two endpoints:
- fetch who shared workflows with the user
- fetch who the user shared workflows with

Closes reanahub#648 and reanahub#649
DaanRosendal added a commit to DaanRosendal/reana-server that referenced this issue Dec 1, 2023
Adds two endpoints:
- fetch who shared workflows with the user
- fetch who the user shared workflows with

Closes reanahub#648 and reanahub#649
DaanRosendal added a commit to DaanRosendal/reana-commons that referenced this issue Dec 1, 2023
Adds two endpoints:
- fetch who shared workflows with the user
- fetch who the user shared workflows with

Closes reanahub/reana-server#648 and reanahub/reana-server#649
@DaanRosendal DaanRosendal moved this from In work to In review in Workflow-Sharing Dec 6, 2023
DaanRosendal added a commit to DaanRosendal/reana-server that referenced this issue Dec 15, 2023
Adds two endpoints:
- fetch who shared workflows with the user
- fetch who the user shared workflows with

Closes reanahub#648 and reanahub#649
DaanRosendal added a commit to DaanRosendal/reana-server that referenced this issue Dec 15, 2023
Adds two endpoints:
- fetch who shared workflows with the user
- fetch who the user shared workflows with

Closes reanahub#648 and reanahub#649
DaanRosendal added a commit to DaanRosendal/reana-server that referenced this issue Dec 15, 2023
Adds two endpoints:
- fetch who shared workflows with the user
- fetch who the user shared workflows with

Closes reanahub#648 and reanahub#649
DaanRosendal added a commit to DaanRosendal/reana-server that referenced this issue Mar 13, 2024
Adds two endpoints:
- fetch who shared workflows with the user
- fetch who the user shared workflows with

Closes reanahub#648 and reanahub#649
DaanRosendal added a commit to DaanRosendal/reana-server that referenced this issue Mar 13, 2024
Adds two endpoints:
- fetch who shared workflows with the user
- fetch who the user shared workflows with

Closes reanahub#648 and reanahub#649
DaanRosendal added a commit to DaanRosendal/reana-commons that referenced this issue Mar 13, 2024
Adds two endpoints:
- fetch who shared workflows with the user
- fetch who the user shared workflows with

Closes reanahub/reana-server#648 and reanahub/reana-server#649
DaanRosendal added a commit to DaanRosendal/reana-commons that referenced this issue Mar 13, 2024
Adds two endpoints:
- fetch who shared workflows with the user
- fetch who the user shared workflows with

Closes reanahub/reana-server#648 and reanahub/reana-server#649
DaanRosendal added a commit to DaanRosendal/reana-server that referenced this issue Mar 18, 2024
Adds two endpoints:
- fetch who shared workflows with the user
- fetch who the user shared workflows with

Closes reanahub#648 and reanahub#649
DaanRosendal added a commit to DaanRosendal/reana-commons that referenced this issue Mar 18, 2024
Adds two endpoints:
- fetch who shared workflows with the user
- fetch who the user shared workflows with

Closes reanahub/reana-server#648 and reanahub/reana-server#649
DaanRosendal added a commit to DaanRosendal/reana-server that referenced this issue Mar 20, 2024
Adds two endpoints:
- fetch who shared workflows with the user
- fetch who the user shared workflows with

Closes reanahub#648 and reanahub#649
DaanRosendal added a commit to DaanRosendal/reana-server that referenced this issue Mar 20, 2024
Adds two endpoints:
- fetch who shared workflows with the user
- fetch who the user shared workflows with

Closes reanahub#648 and reanahub#649
DaanRosendal added a commit to DaanRosendal/reana-server that referenced this issue Mar 20, 2024
Adds two endpoints:
- fetch who shared workflows with the user
- fetch who the user shared workflows with

Closes reanahub#648 and reanahub#649
DaanRosendal added a commit to DaanRosendal/reana-server that referenced this issue Mar 20, 2024
Adds two endpoints:
- fetch who shared workflows with the user
- fetch who the user shared workflows with

Closes reanahub#648 and reanahub#649
DaanRosendal added a commit to DaanRosendal/reana-server that referenced this issue Mar 20, 2024
Adds two endpoints:
- fetch who shared workflows with the user
- fetch who the user shared workflows with

Closes reanahub#648 and reanahub#649
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
1 participant