Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(api) Make code tidier by replacing scopes as strings #479

Open
Leobouloc opened this issue Oct 24, 2023 · 0 comments
Open

(api) Make code tidier by replacing scopes as strings #479

Leobouloc opened this issue Oct 24, 2023 · 0 comments
Milestone

Comments

@Leobouloc
Copy link
Contributor

Leobouloc commented Oct 24, 2023

Feature Request

Scopes introduced in user.py (https://github.com/openfun/ralph/blob/34c8413efc0cdd1bf698974318677762151f7e2d/src/ralph/api/auth/user.py) by #463 are hard coded strings. It has been suggested to replace this by Enum or pydantic models.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

2 participants