Update postgres permissions

This commit is contained in:
Greg Hellings
2023-12-11 21:52:47 +00:00
parent e94f95180a
commit 2df2310926
+4 -7
View File
@@ -17,19 +17,16 @@
#''; # These are done manually in order to set the LC_COLLATE values properly #''; # These are done manually in order to set the LC_COLLATE values properly
ensureUsers = [ { ensureUsers = [ {
name = "nextcloud"; name = "nextcloud";
ensurePermissions."DATABASE nextcloud" = "ALL PRIVILEGES"; ensureDBOwnership = true;
} {
name = "root";
ensurePermissions."ALL TABLES IN SCHEMA public" = "ALL PRIVILEGES";
} { } {
name = "gitea"; name = "gitea";
ensurePermissions."DATABASE gitea" = "ALL PRIVILEGES"; ensureDBOwnership = true;
} { } {
name = "dendrite"; name = "dendrite";
ensurePermissions."DATABASE dendrite" = "ALL PRIVILEGES"; ensureDBOwnership = true;
} { } {
name = "monica"; name = "monica";
ensurePermissions."DATABASE monica" = "ALL PRIVILEGES"; ensureDBOwnership = true;
} ]; } ];
settings = { settings = {
log_connections = true; log_connections = true;