wok-next view polkit105/stuff/10-udisks2.rules @ rev 21480

updated aircrack-ng (1.4 -> 1.6)
author Hans-G?nter Theisgen
date Thu Jun 18 14:12:59 2020 +0100 (2020-06-18)
parents
children
line source
1 // See the polkit(8) man page for more information
2 // about configuring polkit.
4 // Allow udisks2 to mount devices without authentication
5 // for users in the "disk" group.
7 polkit.addRule(function(action, subject) {
8 if ((action.id == "org.freedesktop.udisks2.filesystem-mount-system" ||
9 action.id == "org.freedesktop.udisks2.filesystem-mount") &&
10 subject.isInGroup("disk")) {
11 return polkit.Result.YES;
12 }
13 });