Skip to content

[FEAT] Declarative roles should be projected to the database #127

@sgelias

Description

@sgelias

Describe the solution you'd like
Roles declared in toml config file should be prooagated to the database manually using API. However, this process can be simplified to implements the automated regustration of the role names into the database.

Describe alternatives you've considered

  • The roles are declared in service routes
  • The role name is used to generate a previsíble uuidv5 and them, injected in database as an application wide role
  • A role name should be registered once, and the unicity of the name should be guaranted by their uuid. Avoiding duplicated names.
  • The full deletion of the name should be perfored only by super users, give the application wide scope of the role

Additional context
Roles created using API should use uuidv5 like declared roles.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions