1
0
mirror of https://gitlab.com/dbrw/ansible-setup.git synced 2025-08-04 23:25:41 +07:00
ansible-setup/roles/common/files/polkit-mount-internal.rules
2022-06-29 17:19:22 +07:00

8 lines
244 B
Plaintext

polkit.addRule(function(action, subject) {
if ((action.id == "org.freedesktop.udisks2.filesystem-mount-system" &&
subject.local && subject.active && subject.isInGroup("storage")))
{
return polkit.Result.YES;
}
});