andrewmusselman opened a new issue, #669:
URL: https://github.com/apache/tooling-trusted-releases/issues/669
**Audit refs:** 8.3.1 LOW-03
#### Description
`atr/api/__init__.py:415` — the error message in the `release_delete`
function incorrectly states "create" instead of "delete":
```python
async def release_delete(data):
if not user.is_admin(asf_uid):
raise exceptions.Forbidden("You do not have permission to create a
release")
# ^^^^^^
should be "delete"
```
#### Recommended fix
Change to `"You do not have permission to delete a release"`.
**CWE:** CWE-209
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]