Adjust `IssueablePolicy` to disallow guests from updating their incidents
What does this MR do and why?
Describe in detail what your merge request does and why.
This merge request negates guest authors' ability to update or reopen their issue if it were promoted to an incident.
This MR is related to #345394 (closed).
Screenshots or screen recordings
These are strongly recommended to assist reviewers and reduce the time to merge your change.
Before | After |
---|---|
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
- Create a project as
Owner
(orAdmin
/Maintainer
) - Invite user as a
Guest
-
Guest
creates anIssue
-
Owner
changesIssue Type
fromIssue
toIncident
-
Guest
visits the (now)Incident
and can no longer close or update theirIncident
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.