summarylogtreecommitdiffstats
path: root/00-1password.rule
blob: 7f56746a138aeb89c9c51dd19ba15afb73f7fe97 (plain)
1
2
3
4
5
6
/* Allow users in wheel group to run 1Password without authentication */
polkit.addRule(function(action, subject) {
    if (action.id == "com.1password.1Password.unlock" && subject.isInGroup("wheel")) {
        return polkit.Result.YES;
    }
});