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-10 14:55:08 +0100 |
commit | 36dc94f04de70588a2c6c005e29961c7ed3c7848 (patch) | |
tree | a048b71b46a40cf44db3671c08d3bb778971172a /tdecore/tdehw/hwlibdaemons | |
parent | 94881853aa5725149305cad34f2d359e66243277 (diff) | |
download | tdelibs-36dc94f04de70588a2c6c005e29961c7ed3c7848.tar.gz tdelibs-36dc94f04de70588a2c6c005e29961c7ed3c7848.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>
(cherry picked from commit 78b21360119cb806370befa301b7bca671884eb0)
Diffstat (limited to 'tdecore/tdehw/hwlibdaemons')
-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> |