Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RADIUS_IMPORT_GROUPS setting #33

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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