cluster/services/idm: allow infra admins to read systemd journal

This commit is contained in:
Max Headroom 2023-06-12 23:44:46 +02:00
parent 9ec0faeea2
commit a49766e75a
2 changed files with 8 additions and 0 deletions

View file

@ -25,6 +25,8 @@
server = ./server.nix;
client = [
./client.nix
./modules/idm-nss-ready.nix
./modules/idm-tmpfiles.nix
./policies/infra-admins.nix
];
client-soda = [

View file

@ -14,4 +14,10 @@
options = [ "SETENV" ];
};
};
idm.tmpfiles.rules = [
"a+ /run/log/journal/%m - - - - d:group:infra_admins:r-x"
"a+ /run/log/journal/%m - - - - group:infra_admins:r-x"
"a+ /run/log/journal/%m/*.journal* - - - - d:group:infra_admins:r--"
];
}