Fixing access to project workflow executions & analysis data exports. Only members with analyst access or higher should have access.
Fixes #617.
Screenshots or screen recordings
A project member with a role less than an analyst should not be able to view a project workflow execution:
A project member with a role of an analyst or higher should be able to view a project workflow execution & create a data export:
How to set up and validate locally
Create a new project.
Select "Settings" -> "Automated Workflow Executions" from the sidebar menu.
Click the "New automated workflow execution" button.
Select a workflow and click the "Submit" button.
Create a new sample within the project.
Upload files within the new sample.
Select "Workflow Executions" from the sidebar menu.
Verify the new project workflow exists.
Add members to the project and try logging in as them to make sure they can or cannot access the project workflow execution & create a data export based on their role.
PR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
What does this PR do and why?
Fixing access to project workflow executions & analysis data exports. Only members with
analyst
access or higher should have access. Fixes #617.Screenshots or screen recordings
A project member with a role less than an![image](https://github.com/phac-nml/irida-next/assets/325703/e1ca8d30-444b-496a-b16e-b7e5cc3ed061)
analyst
should not be able to view a project workflow execution:A project member with a role of an![image](https://github.com/phac-nml/irida-next/assets/325703/c11125b7-822c-4c2c-9fe2-a434ff61d6ff)
analyst
or higher should be able to view a project workflow execution & create a data export:How to set up and validate locally
PR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.