profcomff / profcomff/auth-api
Баг со скоупами
Open
@rifcrat is already working on this.
Since Aug 8, 2026.
bug :lady_beetle:
- Dominant language
- Python
- Stars
- 15
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
https://github.com/profcomff/auth-api/blob/main/auth_backend/routes/scopes.py#L70
в текущей реализации нет проверки на уникальность скоупа при обновлении, она есть например при создании (можно оттуда позаимствовать)
могу создать два разных скоупа и потом второму дать name как у первого: проблемы не возникнет, что неправильно
так же про регистр не забыть
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.