summaryrefslogtreecommitdiff
path: root/testing/source/vtown/deps/polkit/20-plugdev-group-mount-override.rules
diff options
context:
space:
mode:
Diffstat (limited to 'testing/source/vtown/deps/polkit/20-plugdev-group-mount-override.rules')
-rw-r--r--testing/source/vtown/deps/polkit/20-plugdev-group-mount-override.rules16
1 files changed, 0 insertions, 16 deletions
diff --git a/testing/source/vtown/deps/polkit/20-plugdev-group-mount-override.rules b/testing/source/vtown/deps/polkit/20-plugdev-group-mount-override.rules
deleted file mode 100644
index c47a66cf..00000000
--- a/testing/source/vtown/deps/polkit/20-plugdev-group-mount-override.rules
+++ /dev/null
@@ -1,16 +0,0 @@
-/* http://udisks.freedesktop.org/docs/latest/udisks-polkit-actions.html */
-
-polkit.addRule(function(action, subject) {
- if (action.id == "org.freedesktop.udisks2.filesystem-mount" &&
- subject.isInGroup("plugdev")) {
- return polkit.Result.YES;
- }
-});
-
-polkit.addRule(function(action, subject) {
- if (action.id == "org.freedesktop.udisks2.eject-media" &&
- subject.isInGroup("plugdev")) {
- return polkit.Result.YES;
- }
-});
-