citadel/meta-citadel/recipes-citadel/citadel-config/files/polkit/citadel.rules
Bruce Leidl 5ff3c559a4 step one of reorganizing meta-citadel
recipes-citadel is for things other than recipes to package software
2018-03-27 18:38:34 -04:00

8 lines
295 B
Plaintext

polkit.addRule(function(action, subject) {
if ((action.id == "org.freedesktop.NetworkManager.settings.modify.system" ||
action.id == "org.freedesktop.machine1.host-open-pty") &&
subject.local && subject.isInGroup("citadel")) {
return polkit.Result.YES;
}
});