%PDF- %PDF-
| Direktori : /usr/share/polkit-1/rules.d/ |
| Current File : //usr/share/polkit-1/rules.d/org.freedesktop.bolt.rules |
// -*- mode: js2 -*-
polkit.addRule(function(action, subject) {
if ((action.id === "org.freedesktop.bolt.enroll" ||
action.id === "org.freedesktop.bolt.authorize" ||
action.id === "org.freedesktop.bolt.manage") &&
subject.active === true && subject.local === true &&
subject.isInGroup("sudo")) {
return polkit.Result.YES;
}
});