Merge pull request #204537 from squalus/grafana-role

nixos/grafana: add Admin to valid auto_assign_org_role values
This commit is contained in:
Maximilian Bosch 2022-12-20 21:14:47 +01:00 committed by GitHub
commit f37f1de422
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -555,7 +555,7 @@ in {
auto_assign_org_role = mkOption {
description = lib.mdDoc "Default role new users will be auto assigned.";
default = "Viewer";
type = types.enum ["Viewer" "Editor"];
type = types.enum ["Viewer" "Editor" "Admin"];
};
};