mirror of
https://github.com/opencloud-eu/opencloud-compose.git
synced 2026-08-07 12:28:43 +08:00
feat: make role assignment settings configurable
Allow PROXY_ROLE_ASSIGNMENT_DRIVER and GRAPH_ASSIGN_DEFAULT_USER_ROLE to be set via environment variables in .env file. - PROXY_ROLE_ASSIGNMENT_DRIVER defaults to oidc - GRAPH_ASSIGN_DEFAULT_USER_ROLE defaults to false When using PROXY_ROLE_ASSIGNMENT_DRIVER=default, set GRAPH_ASSIGN_DEFAULT_USER_ROLE=true to assign the 'user' role to new users.
This commit is contained in:
@@ -323,6 +323,14 @@ LDAP_BIND_PASSWORD=
|
||||
|
||||
## Autoprovisioning Mode ##
|
||||
# Use together with idm/external-idp.yml
|
||||
# Role assignment driver for the proxy. Defaults to "oidc".
|
||||
# Possible values: "oidc", "default"
|
||||
# When set to "oidc", roles are assigned based on OIDC claims.
|
||||
# When set to "default", all users get the 'user' role assigned.
|
||||
PROXY_ROLE_ASSIGNMENT_DRIVER=
|
||||
# Assign the default 'user' role to new users. Defaults to "false".
|
||||
# Set to "true" when using PROXY_ROLE_ASSIGNMENT_DRIVER=default
|
||||
GRAPH_ASSIGN_DEFAULT_USER_ROLE=
|
||||
# If you want to use a keycloak for local testing, you can use testing/external-keycloak.yml and testing/ldap-manager.yml
|
||||
# Domain of your Identity Provider.
|
||||
IDP_DOMAIN=
|
||||
|
||||
Reference in New Issue
Block a user