django-radius
django-radius copied to clipboard
RADIUS_IMPORT_GROUPS setting
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.