citadel/meta-citadel/recipes-core/base-files/files/polkit/citadel.rules

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;
}
});