forked from brl/citadel
8 lines
295 B
Plaintext
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;
|
||
|
}
|
||
|
});
|