summaryrefslogtreecommitdiff
path: root/hosts/iroha/polkit-1/rules.d
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/iroha/polkit-1/rules.d')
-rw-r--r--hosts/iroha/polkit-1/rules.d/20-scx_loader.rules5
1 files changed, 5 insertions, 0 deletions
diff --git a/hosts/iroha/polkit-1/rules.d/20-scx_loader.rules b/hosts/iroha/polkit-1/rules.d/20-scx_loader.rules
new file mode 100644
index 0000000..90fb12e
--- /dev/null
+++ b/hosts/iroha/polkit-1/rules.d/20-scx_loader.rules
@@ -0,0 +1,5 @@
+polkit.addRule(function(action, subject) {
+ if (action.id == "org.scx.loader.manage-schedulers") {
+ return polkit.Result.YES;
+ }
+});