mirror of https://github.com/h44z/wg-portal.git
				
				
				
			[DOCS] Fix example config wrt. admin_value_regex and admin_group_regex (#362)
This commit is contained in:
		
							parent
							
								
									7557a6ef5a
								
							
						
					
					
						commit
						588f09bdaa
					
				|  | @ -102,7 +102,7 @@ auth: | |||
|         department: department | ||||
|         is_admin: wg_admin | ||||
|       admin_mapping: | ||||
|         - admin_value_regex: ^true$ | ||||
|         admin_value_regex: ^true$ | ||||
|       registration_enabled: true | ||||
|       log_user_info: true | ||||
| 
 | ||||
|  | @ -125,7 +125,7 @@ auth: | |||
|         department: department | ||||
|         user_groups: groups | ||||
|       admin_mapping: | ||||
|         - admin_group_regex: ^the-admin-group$ | ||||
|         admin_group_regex: ^the-admin-group$ | ||||
|       registration_enabled: true | ||||
|       log_user_info: true | ||||
| ``` | ||||
|  | @ -157,7 +157,7 @@ auth: | |||
|         firstname: name | ||||
|         is_admin: this-attribute-must-be-true | ||||
|       admin_mapping: | ||||
|         - admin_value_regex: ^(True|true)$ | ||||
|         admin_value_regex: ^(True|true)$ | ||||
|       registration_enabled: true | ||||
|      | ||||
|     # a sample provider where either users with the attribute `this-attribute-must-be-true` set to `true` or  | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue