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

Made DJANGO_DEFAULT_AUTH_GROUPS configurable via environment #6

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

Conversation

spikelynch
Copy link

Slightly more configurable option than just setting it to [ 'USER' ]

Copy link

@jnothman jnothman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We then need to document this somewhere?

@@ -225,7 +225,11 @@ def add_ssh_keys():

# Django Auth
DJANGO_AUTH_TYPE = 'BASIC'
DJANGO_AUTH_DEFAULT_GROUPS = []
env_default_groups = os.get.env('DJANGO_AUTH_DEFAULT_GROUPS')
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

env_default_groups = os.getenv('DJANGO_AUTH_DEFAULT_GROUPS')

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.

3 participants