add org.freedesktop.machine1.shell to polkit rules

This commit is contained in:
Bruce Leidl 2019-04-09 15:21:12 -04:00
parent 2b5b96afa6
commit fd34acd6a1

View File

@ -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;