Skip to content
Snippets Groups Projects
Commit 89d4166c authored by Reiter, Christoph's avatar Reiter, Christoph :snake:
Browse files

Add an interface that allows customizing the user roles

This adds UserRolesInterface which is used for converting the
oauth2 scopes to symfony roles.

The default interface implementation converts them to "ROLE_SCOPE_FOO".

The interface also gets passed the user ID and can fetch roles from other
places as well, like LDAP, or ignore the scopes etc.

Fixes #4
parent 381e6cf2
No related branches found
Tags v0.1.9
No related merge requests found
Pipeline #57313 passed
Status
Pipeline
Created by
Stages
Actions
Passed

00:00:42

avatar
Download artifacts

No artifacts found

Passed

00:00:29

avatar
Download artifacts

No artifacts found