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 the user shared workflows with #649

Closed
1 task
DaanRosendal opened this issue Nov 30, 2023 · 0 comments · Fixed by reanahub/reana-commons#429
Closed
1 task

Comments

@DaanRosendal
Copy link
Member

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

Recommended steps to retrieve the desired list of users:

  1. Query the workflows table for the IDs of workflows that the user owns
  2. Query the user_workflow table distinctly for user_id's that the user has shared workflows with
  3. Query the user_ table for all user_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 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 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
@mdonadoni mdonadoni moved this to In review in Workflow-Sharing Jul 19, 2024
mdonadoni pushed a commit to DaanRosendal/reana-server that referenced this issue Aug 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
mdonadoni pushed a commit to DaanRosendal/reana-commons that referenced this issue Aug 20, 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
mdonadoni pushed a commit to DaanRosendal/reana-commons that referenced this issue Aug 29, 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
mdonadoni pushed a commit to DaanRosendal/reana-server that referenced this issue Aug 29, 2024
Adds two endpoints:
- fetch who shared workflows with the user
- fetch who the user shared workflows with

Closes reanahub#648 and reanahub#649
tiborsimko pushed a commit to DaanRosendal/reana-commons that referenced this issue Sep 4, 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
tiborsimko pushed a commit to DaanRosendal/reana-server that referenced this issue Sep 4, 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
Status: Done
1 participant