upower/dbus
Bastien Nocera d0ebbe32bb device: Only handle Refresh() method if in debug mode
The Refresh D-Bus method could be used by clients to force re-reading
the state of batteries in the upower backends. This is not needed as
all the backends should be sending events when their states changes,
removing the need for an explicit refresh.

This is also a potential security problem if applications keep on
refreshing their data.

We now only allow access to the Refresh() method if the daemon was
started in debugging mode. This should make it clearer that it is a
debug tool.

Also remove a mention of the never implemented refresh-power-source
polkit authorisation.
2022-04-19 15:27:36 +02:00
..
meson.build Remove Wakeups API 2022-03-24 17:02:27 +01:00
org.freedesktop.UPower.Device.xml device: Only handle Refresh() method if in debug mode 2022-04-19 15:27:36 +02:00
org.freedesktop.UPower.KbdBacklight.xml UpKbdBacklight: Add new BrightnessChangedWithSource signal 2017-02-15 17:33:16 +01:00
org.freedesktop.UPower.xml Share generated code between daemon and library 2015-07-29 13:38:13 +01:00