trivionomicon: athena-bccr: allow the 'users' group to access any card
This commit is contained in:
parent
f133a894d8
commit
cbc0180d60
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue