[DOCS] Fix example config wrt. admin_value_regex and admin_group_regex (#362)

This commit is contained in:
klmmr 2025-02-07 17:59:58 +01:00 committed by GitHub
parent 7557a6ef5a
commit 588f09bdaa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -102,7 +102,7 @@ auth:
department: department department: department
is_admin: wg_admin is_admin: wg_admin
admin_mapping: admin_mapping:
- admin_value_regex: ^true$ admin_value_regex: ^true$
registration_enabled: true registration_enabled: true
log_user_info: true log_user_info: true
@ -125,7 +125,7 @@ auth:
department: department department: department
user_groups: groups user_groups: groups
admin_mapping: admin_mapping:
- admin_group_regex: ^the-admin-group$ admin_group_regex: ^the-admin-group$
registration_enabled: true registration_enabled: true
log_user_info: true log_user_info: true
``` ```
@ -157,7 +157,7 @@ auth:
firstname: name firstname: name
is_admin: this-attribute-must-be-true is_admin: this-attribute-must-be-true
admin_mapping: admin_mapping:
- admin_value_regex: ^(True|true)$ admin_value_regex: ^(True|true)$
registration_enabled: true registration_enabled: true
# a sample provider where either users with the attribute `this-attribute-must-be-true` set to `true` or # a sample provider where either users with the attribute `this-attribute-must-be-true` set to `true` or