Remove plurals from group names

This commit is contained in:
niten 2023-12-10 15:44:26 -08:00
parent 810f6a5bca
commit f3b43259a4
1 changed files with 2 additions and 2 deletions

View File

@ -135,8 +135,8 @@ in {
token_url = "https://${cfg.oauth.hostname}/application/o/token/";
api_url = "https://${cfg.oauth.hostname}/application/o/userinfo/";
role_attribute_path = concatStringsSep " || " [
"contains(groups[*], 'Metrics Admins') && 'Admin'"
"contains(groups[*], 'Metrics Editors') && 'Editor'"
"contains(groups[*], 'Metrics Admin') && 'Admin'"
"contains(groups[*], 'Metrics Editor') && 'Editor'"
"'Viewer'"
];
};