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>
pull/125/head
Slávek Banko 4 years ago
parent ce09b7d5e8
commit 78b2136011
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -70,5 +70,9 @@
<deny own="org.trinitydesktop.hardwarecontrol"/> <deny own="org.trinitydesktop.hardwarecontrol"/>
<deny send_destination="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> </policy>
</busconfig> </busconfig>

Loading…
Cancel
Save