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

RBAC: implement role management endpoints #8743

Closed
4 tasks
leovalais opened this issue Sep 4, 2024 · 0 comments
Closed
4 tasks

RBAC: implement role management endpoints #8743

leovalais opened this issue Sep 4, 2024 · 0 comments
Assignees

Comments

@leovalais
Copy link
Contributor

Description and goal

Part of #8171

Implement the following routes:

No role control required

  • GET /authz/list_roles ➡️ all application roles declared in the current configuration
  • GET /authz/roles ➡️ the roles of the issuer of the request (available to every authenticated user)

On role = admin

  • POST /authz/subject/:id/roles ➡️ grants some roles to a subject
  • DELETE /authz/subject/:id/roles ➡️ removes some roles of a subject

Acceptance criteria

The endpoints exist.

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

No branches or pull requests

3 participants