blob: 8408234a9956b1b56885c33f71923c28b3873259 (
plain)
1
2
3
4
5
6
7
8
9
10
|
polkit.addRule(function(action, subject) {
if (action.id == "org.mageia.qarepo-helper.pkexec.run" &&
subject.local && subject.active &&
subject.isInGroup("qarepo")) {
return polkit.Result.YES;
} else {
return polkit.Result.AUTH_ADMIN_KEEP;
}
});
|