mirror of
https://github.com/RGBCube/ncc
synced 2025-07-28 02:27:44 +00:00
chore: remove redundant permission grants to root as root is pg superuser
This commit is contained in:
parent
2c7ac26e4e
commit
da34aaa065
1 changed files with 1 additions and 5 deletions
|
@ -31,11 +31,7 @@ in {
|
||||||
|
|
||||||
enableJIT = true;
|
enableJIT = true;
|
||||||
|
|
||||||
initdbArgs = [ "--locale=C" "--encoding=UTF8" ];
|
initdbArgs = [ "--locale=C" "--encoding=UTF8" ];
|
||||||
initialScript = pkgs.writeText "grant-root-perms.sql" ''
|
|
||||||
GRANT pg_read_all_data TO root;
|
|
||||||
GRANT pg_write_all_data TO root;
|
|
||||||
'';
|
|
||||||
|
|
||||||
authentication = mkOverride 10 /* ini */ ''
|
authentication = mkOverride 10 /* ini */ ''
|
||||||
# Type Database DBUser Authentication
|
# Type Database DBUser Authentication
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue