summary refs log tree commit diff
path: root/nixos/tests/grafana/basic.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/tests/grafana/basic.nix')
-rw-r--r--nixos/tests/grafana/basic.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/grafana/basic.nix b/nixos/tests/grafana/basic.nix
index 8bf4caad7fb..dd389bc8a3d 100644
--- a/nixos/tests/grafana/basic.nix
+++ b/nixos/tests/grafana/basic.nix
@@ -55,7 +55,7 @@ let
         ensureDatabases = [ "grafana" ];
         ensureUsers = [{
           name = "grafana";
-          ensurePermissions."DATABASE grafana" = "ALL PRIVILEGES";
+          ensureDBOwnership = true;
         }];
       };
       systemd.services.grafana.after = [ "postgresql.service" ];