Hide On-Demand scan actions from auditor
What does this MR do and why?
Describe in detail what your merge request does and why.
This MR resolves #369012 (closed)
We should hide all the action buttons from On-demand scan screens for users with auditor
role and who are not project memebers.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
without auditor role | auditor role |
---|---|
regular | auditor |
without auditor role | auditor role |
---|---|
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
- Assign yourself or any other user
auditor
role - Go to
/admin/users/user_id/edit
and set it toauditor
inAccess level section
- You can also add and remove user from members in
Project Information
->Members
- Go to
/-/on_demand_scans#/saved
check that there are no actions buttons available - Then go to
/on_demand_scans/scan_id/edit
or/on_demand_scans/new
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #369012 (closed)
Edited by Artur Fedorov