Skip to content

Made DJANGO_DEFAULT_AUTH_GROUPS configurable via environment#6

Open
spikelynch wants to merge 1 commit into
developfrom
feature-default-groups
Open

Made DJANGO_DEFAULT_AUTH_GROUPS configurable via environment#6
spikelynch wants to merge 1 commit into
developfrom
feature-default-groups

Conversation

@spikelynch
Copy link
Copy Markdown

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

Copy link
Copy Markdown

@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?

Comment thread cvat/settings/base.py
# Django Auth
DJANGO_AUTH_TYPE = 'BASIC'
DJANGO_AUTH_DEFAULT_GROUPS = []
env_default_groups = os.get.env('DJANGO_AUTH_DEFAULT_GROUPS')
Copy link
Copy Markdown

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