Removes incident creation from read-only abilities
What does this MR do and why?
In https://gitlab.com/gitlab-org/gitlab/-/issues/363473 we are adjusting which features are made read-only.
This MR removes Incident creation from that list
Read-only mode is not yet in use because it relates to unreleased work described in the linked issue above
How to set up and validate locally
- Checkout
master
branch - Adjust the
read_only?
method to return truedef read_only? true end
- Attempt to create an Incident (Project -> Monitor -> Incidents)
-
👆🏽 should not be possible - Checkout this branch (
vij-incident-management-policy
) - Re-attempt to perform the same action
-
👆🏽 should be possible
Numbered steps to set up and validate the change are strongly suggested.
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.