Skip to content

Hide On-Demand scan actions from auditor

Artur Fedorov requested to merge 369012-hide-on-demand-buttons-from-auditor into master

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
finished Screenshot_2023-01-26_at_01.49.38
saved saved_auditor

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Assign yourself or any other user auditor role
  2. Go to /admin/users/user_id/edit and set it to auditor in Access level section
  3. You can also add and remove user from members in Project Information -> Members
  4. Go to /-/on_demand_scans#/saved check that there are no actions buttons available
  5. 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.

Related to #369012 (closed)

Edited by Artur Fedorov

Merge request reports

Loading