Skip to content

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

Open
@Leobouloc

Description

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.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    • Status

      Todo

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions