summaryrefslogtreecommitdiff
path: root/app-misc/passwordless-upgrade/files/10-RigoDaemon.rules
blob: 8321059066086b285a28c4d08363e55240fcc237 (plain)
1
2
3
4
5
6
7
/* Allow users in the entropy group to launch system upgrades */
polkit.addRule(function(action, subject) {
    if (action.id == "org.sabayon.RigoDaemon.upgrade" &&
        subject.isInGroup("entropy")) {
        return polkit.Result.YES;
    }
});