diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2021-02-09 17:52:07 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2021-02-09 17:55:23 +0100 |
commit | 78b21360119cb806370befa301b7bca671884eb0 (patch) | |
tree | 858f228db12c6e2b4d5267edb62f86d437fdfc66 /tdecore/tdehw/hwlibdaemons/dbus | |
parent | ce09b7d5e8a8df11ba58723dbce8e1ea6278b54f (diff) | |
download | tdelibs-78b21360119cb806370befa301b7bca671884eb0.tar.gz tdelibs-78b21360119cb806370befa301b7bca671884eb0.zip |
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>
Diffstat (limited to 'tdecore/tdehw/hwlibdaemons/dbus')
-rw-r--r-- | tdecore/tdehw/hwlibdaemons/dbus/org.trinitydesktop.hardwarecontrol.conf | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tdecore/tdehw/hwlibdaemons/dbus/org.trinitydesktop.hardwarecontrol.conf b/tdecore/tdehw/hwlibdaemons/dbus/org.trinitydesktop.hardwarecontrol.conf index c50a5144d..d16ce62bc 100644 --- a/tdecore/tdehw/hwlibdaemons/dbus/org.trinitydesktop.hardwarecontrol.conf +++ b/tdecore/tdehw/hwlibdaemons/dbus/org.trinitydesktop.hardwarecontrol.conf @@ -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> |