forked from brl/citadel
add org.freedesktop.machine1.shell to polkit rules
This commit is contained in:
parent
2b5b96afa6
commit
fd34acd6a1
@ -1,5 +1,6 @@
|
||||
polkit.addRule(function(action, subject) {
|
||||
if ((action.id == "org.freedesktop.NetworkManager.settings.modify.system" ||
|
||||
action.id == "org.freedesktop.machine1.shell" ||
|
||||
action.id == "org.freedesktop.machine1.host-open-pty") &&
|
||||
subject.local && subject.isInGroup("citadel")) {
|
||||
return polkit.Result.YES;
|
||||
|
Loading…
Reference in New Issue
Block a user