Skip to content

RADIUS_IMPORT_GROUPS setting#33

Open
jguy1987 wants to merge 1 commit intorobgolding:masterfrom
jguy1987:import-groups
Open

RADIUS_IMPORT_GROUPS setting#33
jguy1987 wants to merge 1 commit intorobgolding:masterfrom
jguy1987:import-groups

Conversation

@jguy1987
Copy link

@jguy1987 jguy1987 commented Oct 4, 2024

This allows you to implicitly set django to be in charge of group assignments, while still keeping remote_roles setting that will still bring over the is_staff and is_superuser flags from RADIUS.

The default behavior seems to be that django-radius always sets the groups of the user to what is coming over from RADIUS regardless of if you set them or not. I wanted django to be implicitly in charge of group assignments, and ignore what RADIUS sends.

* This allows you to implicitly set django to be in charge of group assignments, while still keeping remote_roles setting that will still bring over the is_staff and is_superuser flags from RADIUS.
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.

1 participant