Hide the Edit action on system-generated events
requested to merge 371528-hide-the-edit-action-on-system-generated-events-to-avoid-unnecessary-errors into master
What does this MR do and why?
Checks if the event is a comment generated by the user and hides edit option for other events.
Screenshots or screen recordings
before | after |
---|---|
How to set up and validate locally
- Navigate to Monitor > Incidents page
- Create new or open an existing incident
- Navigate to Timeline tab of the incident
- Click "Add new timeline event" button at the bottom
- Try to edit the first event
@user created an incident
- it shouldn't be possible - Try to edit a comment that you added - should be possible
It also shouldn't be possible to edit any note about a severity change or a note about closing the incident.
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 #371528 (closed)
Edited by Paulina Sedlak-Jakubowska