diff options
author | B. Stack <bgstack15@gmail.com> | 2024-09-24 19:57:24 -0400 |
---|---|---|
committer | B. Stack <bgstack15@gmail.com> | 2024-09-24 19:57:24 -0400 |
commit | 0f9ad0d0b810def89705d4c7fbbff962b16ba4c4 (patch) | |
tree | 3061220ed78cfe4f4c137e5973c451dd307f1bca /aux/80-fprintd.rules | |
parent | add image to readme (diff) | |
download | fprintd-tk-0f9ad0d0b810def89705d4c7fbbff962b16ba4c4.tar.gz fprintd-tk-0f9ad0d0b810def89705d4c7fbbff962b16ba4c4.tar.bz2 fprintd-tk-0f9ad0d0b810def89705d4c7fbbff962b16ba4c4.zip |
Diffstat (limited to 'aux/80-fprintd.rules')
-rw-r--r-- | aux/80-fprintd.rules | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/aux/80-fprintd.rules b/aux/80-fprintd.rules deleted file mode 100644 index 080334f..0000000 --- a/aux/80-fprintd.rules +++ /dev/null @@ -1,24 +0,0 @@ -/* -.. File: 80-fprintd.rules -*/ -polkit.addRule(function(action, subject) { - if ( - ( - action.id.match("net.reactivated.fprint.device.enroll") || - action.id.match("net.reactivated.fprint.device.verify") - ) && subject.active) { - polkit.log("action=" + action); - polkit.log("subject=" + subject); - return polkit.Result.YES; - } -}); -polkit.addRule(function(action, subject) { - if ( - ( - action.id.match("net.reactivated.fprint.device.setusername") - ) && subject.active && subject.isInGroup("admins")) { - polkit.log("action=" + action); - polkit.log("subject=" + subject); - return polkit.Result.YES; - } -}); |