profcomff / profcomff/auth-api

Баг со скоупами

Open
#264 0 comments 0 reactions 1 assignee View on GitHub

@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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.