HALF ECHO LEARN / REFERENCE COLLECTION

v262.2

src/run/empower.rules

Git blob: 59666250805fa343a35170676f7ebd7eb714e935

Lines 1–9 of 9

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