summaryrefslogtreecommitdiff
path: root/pcr/polkit-elogind/99-parabola.rules
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/polkit-elogind/99-parabola.rules')
-rw-r--r--pcr/polkit-elogind/99-parabola.rules21
1 files changed, 0 insertions, 21 deletions
diff --git a/pcr/polkit-elogind/99-parabola.rules b/pcr/polkit-elogind/99-parabola.rules
deleted file mode 100644
index 22c84181b..000000000
--- a/pcr/polkit-elogind/99-parabola.rules
+++ /dev/null
@@ -1,21 +0,0 @@
-polkit.addRule(function(action, subject) {
- if (action.id.indexOf("org.freedesktop.udisks2.") == 0 && subject.isInGroup("storage")) {
- return polkit.Result.YES;
- }
-});
-
-polkit.addRule(function(action, subject) {
- if (action.id == "org.freedesktop.login1.power-off" ||
- action.id == "org.freedesktop.login1.reboot" ||
- action.id == "org.freedesktop.login1.hibernate" ||
- action.id == "org.freedesktop.login1.suspend") {
- return polkit.Result.YES;
- }
-});
-
-polkit.addRule(function(action, subject) {
- if (action.id == "org.freedesktop.upower.hibernate" ||
- action.id == "org.freedesktop.upower.suspend") {
- return polkit.Result.YES;
- }
-});