tdehwlib: Allow everyone to read the status of input switches.

Reading the status of input switches seems safe so that it can be allowed
to everyone. This will prevent the log from being filled with unauthorized
access messages if the user is not a member of the plugdev group - this
resolve issue TDE/tde#44.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 78b2136011)
r14.0.x
Slávek Banko 4 years ago
parent 94881853aa
commit 36dc94f04d
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -70,5 +70,9 @@
<deny own="org.trinitydesktop.hardwarecontrol"/>
<deny send_destination="org.trinitydesktop.hardwarecontrol"/>
<!-- Allow to read input switches -->
<allow send_destination="org.trinitydesktop.hardwarecontrol"
send_interface="org.trinitydesktop.hardwarecontrol.InputEvents"/>
</policy>
</busconfig>

Loading…
Cancel
Save