Description
What feature or product is affected?
Code scanning. Docs on "Dismissing or deleting alerts."
What is the new or expected behavior?
The behaviour has just been changed so that only repository admins can delete code scanning alerts. Other users who have write permission to the repo, and can therefore see the alerts summary list, won't see the Delete button:
How is the old or inaccurate behavior currently documented?
The documentation doesn't currently state that you have to be a repository admin to delete alerts. Non-admin users with write permission to the repo might wonder why they are not seeing the Delete button shown in the screenshot in step 4 of "Dismissing or deleting alerts."
This just requires a couple of additions to explain this prerequisite.
In the introductory paragraph of this section, change:
Alternatively, you can delete alerts.
to:
Alternatively, if you have admin permission for the repository, you can delete alerts.
In step 4 of the section, change:
If you want to delete alerts for this code scanning tool
to:
If you have admin permission for the repository, and you want to delete alerts for this code scanning tool