Skip to content
Snippets Groups Projects
Verified Commit 992fcd2a authored by Ernesto Rico Schmidt's avatar Ernesto Rico Schmidt
Browse files

fix: we don't need to be so picky when getting PRIVILEGED_GROUP & ENTITLED_GROUPS

parent cc02534f
No related branches found
No related tags found
1 merge request!29Use docker main tag
......@@ -162,13 +162,9 @@ OIDC_EXTRA_SCOPE_CLAIMS = "steering.oidc_provider_settings.AuraScopeClaims"
# OIDC Provider extra scope claims
# - Superusers and members of this group are privileged.
PRIVILEGED_GROUP = os.getenv("PRIVILEGED_GROUP") if os.getenv("") != "" else "Program"
PRIVILEGED_GROUP = os.getenv("PRIVILEGED_GROUP", default="Program")
# - Members of these groups are entitled.
ENTITLED_GROUPS = (
os.getenv("ENTITLED_GROUPS").split(",")
if os.getenv("ENTITLED_GROUPS") != ""
else ["Broadcast,BroadcastPlus"]
)
ENTITLED_GROUPS = os.getenv("ENTITLED_GROUPS", default="Broadcast,BroadcastPlus").split(",")
# The API will filter the active shows using one of these filters
# One of these should to be True.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment