summary refs log tree commit diff
path: root/nixos/tests/paperless.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/tests/paperless.nix')
-rw-r--r--nixos/tests/paperless.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/paperless.nix b/nixos/tests/paperless.nix
index 22409e89923..6a51cc522bd 100644
--- a/nixos/tests/paperless.nix
+++ b/nixos/tests/paperless.nix
@@ -17,7 +17,7 @@ import ./make-test-python.nix ({ lib, ... }: {
         ensureDatabases = [ "paperless" ];
         ensureUsers = [
           { name = config.services.paperless.user;
-            ensurePermissions = { "DATABASE \"paperless\"" = "ALL PRIVILEGES"; };
+            ensureDBOwnership = true;
           }
         ];
       };