Skip to content
Snippets Groups Projects
Commit 7e719461 authored by Antoine Lambert's avatar Antoine Lambert
Browse files

auth: Map Keycloak user permissions to Django ones

Keycloak user permissions are named Roles in Keycloak semantics.

Extract them from each decoded access token and override methods from
django.contrib.auth.models.PermissionsMixin in order to manipulate them
as Django user permissions.

Closes T2247
parent e926cadb
No related branches found
No related tags found
1 merge request!341auth: Map Keycloak user permissions to Django ones
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment