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