Code scanning: only repo admins can now delete alerts #745
Labels
content
This issue or pull request belongs to the Docs Content team
good first issue
Good for newcomers
triage
Do not begin working on this issue until triaged by the team
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:
to:
In step 4 of the section, change:
to:
The text was updated successfully, but these errors were encountered: