| 1 |
// Allow all actions for users who are in the "empower" group. Users are added to the |
| 2 |
// "empower" group by running run0 --empower. |
| 3 |
|
| 4 |
polkit.addRule(function(action, subject) { |
| 5 |
if (subject.isInGroup("empower")) { |
| 6 |
return polkit.Result.YES; |
| 7 |
} |
| 8 |
}); |