Merge pull request #1349 from alexmt/1102-config-to-load-all-groups
Add config to explicitly enable loading all github groups Follow-up for #1102.
This commit is contained in:
@@ -45,8 +45,8 @@ connectors:
|
||||
# If orgs are specified in the config then user MUST be a member of at least one of the specified orgs to
|
||||
# authenticate with dex.
|
||||
#
|
||||
# If neither 'org' nor 'orgs' are specified in the config then user authenticate with ALL user's Github groups.
|
||||
# Typical use case for this setup:
|
||||
# If neither 'org' nor 'orgs' are specified in the config and 'loadAllGroups' setting set to true then user
|
||||
# authenticate with ALL user's Github groups. Typical use case for this setup:
|
||||
# provide read-only access to everyone and give full permissions if user has 'my-organization:admins-team' group claim.
|
||||
orgs:
|
||||
- name: my-organization
|
||||
@@ -56,6 +56,8 @@ connectors:
|
||||
teams:
|
||||
- red-team
|
||||
- blue-team
|
||||
# Flag which indicates that all user groups and teams should be loaded.
|
||||
loadAllGroups: false
|
||||
|
||||
# Optional choice between 'name' (default) or 'slug'.
|
||||
#
|
||||
|
Reference in New Issue
Block a user