summarylogtreecommitdiffstats
path: root/com.borgbase.Vorta_root.rules
blob: a90dbe225d429295c90c45da8d303558da0fa779 (plain)
1
2
3
4
5
6
7
8
/* Allow members of the wheel group to execute vorta without a password
 */
polkit.addRule(function(action, subject) {
    if (action.id == "com.borgbase.Vorta" && subject.isInGroup("wheel"))
    {
        return polkit.Result.YES;
    }
});