cluster/services/idm: allow infra admins to read systemd journal
This commit is contained in:
parent
9ec0faeea2
commit
a49766e75a
2 changed files with 8 additions and 0 deletions
|
@ -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 = [
|
||||
|
|
|
@ -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--"
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue