Add policy list action column
What does this MR do and why?
Add delete action for policy list
- when delete action is clicked the MR is created
- set table to loading while the MR is being created
- create alert if an issue occurs
- do not implement for group level yet due to performance issues
Changelog: added
EE: true
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Delete Button | After |
---|---|
delete3 |
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
- Upload a GitLab Ultimate license
- Navigate to a group => Secure => Policies
- Verify a user cannot delete a policy
- Navigate to a project => Secure => Policies => Click delete on a policy
- Verify the table starts loading
- Verify the user with the correct permissions is navigated to the MR to delete the policy
Related to #474839 (closed)
Edited by Alexander Turinske