Remove plurals from group names
This commit is contained in:
parent
810f6a5bca
commit
f3b43259a4
|
@ -135,8 +135,8 @@ in {
|
||||||
token_url = "https://${cfg.oauth.hostname}/application/o/token/";
|
token_url = "https://${cfg.oauth.hostname}/application/o/token/";
|
||||||
api_url = "https://${cfg.oauth.hostname}/application/o/userinfo/";
|
api_url = "https://${cfg.oauth.hostname}/application/o/userinfo/";
|
||||||
role_attribute_path = concatStringsSep " || " [
|
role_attribute_path = concatStringsSep " || " [
|
||||||
"contains(groups[*], 'Metrics Admins') && 'Admin'"
|
"contains(groups[*], 'Metrics Admin') && 'Admin'"
|
||||||
"contains(groups[*], 'Metrics Editors') && 'Editor'"
|
"contains(groups[*], 'Metrics Editor') && 'Editor'"
|
||||||
"'Viewer'"
|
"'Viewer'"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue