diff options
| author | Alejandro Soto <alejandro@34project.org> | 2026-02-18 19:06:23 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2026-02-18 19:06:23 -0600 |
| commit | 41025c06bf5fca7f311e38ff5c3b1b8622894533 (patch) | |
| tree | b0cd99c84f2c142fd2c629fce6716a5015515f68 /modules | |
| parent | 80ea8a98998e3ac14dac9759c29a363bd98f52ad (diff) | |
trivionomicon: athena-bccr: allow the 'users' group to access any card
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/athena-bccr/sys.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/athena-bccr/sys.nix b/modules/athena-bccr/sys.nix index 9532358..2dd56e2 100644 --- a/modules/athena-bccr/sys.nix +++ b/modules/athena-bccr/sys.nix @@ -28,7 +28,8 @@ in { extraConfig = '' polkit.addRule(function(action, subject) { - if (action.id == "org.debian.pcsc-lite.access_pcsc" && subject.isInGroup("users")) { + if ((action.id == "org.debian.pcsc-lite.access_pcsc" || action.id == "org.debian.pcsc-lite.access_card") && + subject.isInGroup("users")) { return polkit.Result.YES; } }); |
