Skip to content

make PROXY_ROLE_ASSIGNMENT_DRIVER configurable#196

Merged
micbar merged 1 commit into
opencloud-eu:mainfrom
maybenotconnor:feat/configurable-proxy-role-assignment-driver
Jun 19, 2026
Merged

make PROXY_ROLE_ASSIGNMENT_DRIVER configurable#196
micbar merged 1 commit into
opencloud-eu:mainfrom
maybenotconnor:feat/configurable-proxy-role-assignment-driver

Conversation

@maybenotconnor

Copy link
Copy Markdown
Contributor

Allow PROXY_ROLE_ASSIGNMENT_DRIVER to be set via environment variable in .env file, with oidc remaining as the default value.

I was frustrated that this was hard coded since my OIDC doesn't offer the complete roles scope, so I made it configurable to allow the default auto-assign.

@maybenotconnor maybenotconnor force-pushed the feat/configurable-proxy-role-assignment-driver branch from 28d9588 to 2512969 Compare January 3, 2026 01:43
@micbar

micbar commented Jan 13, 2026

Copy link
Copy Markdown
Member

I agree that you could have the wish to make this configurable.

The issue that i see is that this change is only affecting the external idp config.

That is hard to communicate in the docs and creates a pitfall, where people will see some unexpected behavior.

Could you also imagine to use the custom override feature of that compose project?

   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.
@micbar micbar force-pushed the feat/configurable-proxy-role-assignment-driver branch from 2512969 to 73b02b7 Compare June 19, 2026 08:43
@micbar micbar merged commit 792bcd3 into opencloud-eu:main Jun 19, 2026
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

Successfully merging this pull request may close these issues.

2 participants