We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8f9ba0b commit f130a30Copy full SHA for f130a30
2 files changed
misc/polkit-localauthority/org.deepin.dde.device.pkla
misc/polkit-rules/org.deepin.dde.device.rules
@@ -0,0 +1,7 @@
1
+polkit.addRule(function(action, subject) {
2
+ if (action.id === "org.deepin.dde.device.unblock-bluetooth-devices" &&
3
+ subject.isInGroup("sudo") &&
4
+ subject.active) {
5
+ return polkit.Result.YES;
6
+ }
7
+});
0 commit comments