summaryrefslogtreecommitdiff
path: root/pcr/desktop-privileges/10-udisks.rules
blob: 4fef5f496dc7ad08952cf4dda23130f7b1ad4227 (plain)
1
2
3
4
5
polkit.addRule(function(action, subject) {
if (action.id.indexOf("org.freedesktop.udisks.") == 0 && subject.isInGroup("storage")) {
        return polkit.Result.YES;
    }
});