Commit Graph
18 Commits
Author SHA1 Message Date
Aleksander Morgado d639359320 polkit: add missing Location interface method rules
https://bugs.freedesktop.org/show_bug.cgi?id=102182
2017-08-12 19:39:10 +02:00
Aleksander Morgado 69585b1374 polkit: added Voice policy rule 2015-08-02 10:39:48 +02:00
David Herrmann 99da30059f policy: don't prevent us from receiving signals
By using:
    <deny send_destination="org.freedesktop.ModemManager1"/>

..we prevent anyone on the system from sending us signals, even if we
subscribed to them. This is clearly not what this line intended. More
importantly, we silently break mm-auth-provider-polkit, as we never
receiver 'changed' signals via PolkitAuthority. Right now, this is not
required by the implementation of PolkitAuthority, but ModemManager
should not place restrictions on the implementation of external
libraries.

So make sure we only prevent Method-Calls to be sent to us. Any other
message that we didn't expect is automatically discarded by gdbus,
anyway.

Without this change, debugging dbus policies constantly shows messages
that Polkit couldn't send the 'changed' signal to ModemManager. This is
suppressed in non-debugging mode. But it would make debugging a lot
easier, if we'd avoid force-dropping those events and not clutter the
debug-log.
2015-07-15 15:04:43 +02:00
Aleksander Morgado c8572c8098 polkit: fix Location.Setup() authorization rules 2014-07-11 18:56:37 +02:00
Aleksander Morgado 37115dee93 api,introspection: new 'Signal' interface for extended signal quality 2013-08-21 12:33:09 +02:00
Jiří Klimeš 6d888e2e90 dbus: remove 'max_replies_per_connection' limit from D-Bus configuration
It is leftover from times when D-Bus default limit was 32. Now, it is 8192, see
http://cgit.freedesktop.org/dbus/dbus/commit/?id=8d3d8ff55739eebd84d0d53a20a025329feafc3b
2012-05-23 10:41:45 +02:00
Aleksander Morgado d6edfbd9d5 policy: implement Sms interface rules 2012-03-16 14:53:16 +01:00
Aleksander Morgado 4bdeea41ae policy: implement Messaging interface rules 2012-03-16 14:53:16 +01:00
Aleksander Morgado 8e1955cb88 policy: implement Location interface rules 2012-03-16 14:53:16 +01:00
Aleksander Morgado eaa47892b5 policy: implement USSD interface rules 2012-03-16 14:53:16 +01:00
Aleksander Morgado cf0a4ae0ce policy: implement Bearer interface rules 2012-03-16 14:53:16 +01:00
Aleksander Morgado 986ab0cb23 policy: implement Sim interface rules 2012-03-16 14:53:16 +01:00
Aleksander Morgado 96fdb716e1 policy: implement CDMA interface rules 2012-03-16 14:53:15 +01:00
Aleksander Morgado 83586c9a62 policy: implement 3GPP interface rules 2012-03-16 14:53:15 +01:00
Aleksander Morgado f2440e9ab2 policy: implement Simple interface rules 2012-03-16 14:53:15 +01:00
Aleksander Morgado e176d56b32 policy: implement Modem interface rules 2012-03-16 14:53:15 +01:00
Aleksander Morgado dad31604cb policy: implement Manager interface rules 2012-03-16 14:53:15 +01:00
Aleksander Morgado 1e79a2d292 build: install DBus service and data files for the new API 2012-03-15 14:14:19 +01:00