Health-Informatics-UoN / carrot-mapper

Convenient and Reusable Rapid Omop Transformer.
https://carrot.ac.uk
MIT License
14 stars 4 forks source link

Add dataset to project they are not in #835

Closed AndyRae closed 2 months ago

AndyRae commented 2 months ago

Is there an existing issue for this?

Current Behavior

A user is capable of adding a dataset to a project they are not in - therefore they then cannot access the dataset after creating it.

Expected Behavior

A user should not be able to add a dataset to a project they are not in. They shouldn't even see any existence of the project.

Steps To Reproduce

  1. Have a project that a user does not have access to.
  2. Create a new dataset, in the form - select that project.
  3. Observe that the user then does not have access to it.

Environment

No response

I'm part of a Project Team

No response

Anything else?

We will fix it. Shout out to DTS testing for this one :)

Are you willing to contribute to resolve this issue?

✅ Yes, me or my team intend to do the development.