Commit Graph
38 Commits
Author SHA1 Message Date
Felipe Borges d5bee2bca6 data, polkit: Add policy rule for setting primary sim slot
Needed for exposing the modem's Primary sim slot setting in
GNOME Settings.
See https://gitlab.gnome.org/GNOME/gnome-control-center/-/merge_requests/2867

Signed-off-by: Felipe Borges <felipeborges@gnome.org>
2025-09-05 11:31:25 -05:00
Andrey Skvortsov 07aca09af2 polkit,conf: give access to Signal.SetupThresholds() the same way as for Signal.Setup()
Otherwise only Setup() method for suboptimal polling is available to
non-privileged users.

Signed-off-by: Andrey Skvortsov <andrej.skvortzov@gmail.com>
2025-07-30 12:15:53 -05:00
Guido Günther 857efa1fba polkit,conf: Add missing Cell Broadcast SetChannel method
Signed-off-by: Guido Günther <agx@sigxcpu.org>
2025-05-23 14:15:14 -05:00
Guido Günther 5a3b810bc9 polkit,conf: Add missing Cell Broadcast methods
Fixes 62f7b76e8 ("cbm: Add CellBroadcast interface")

Signed-off-by: Guido Günther <agx@sigxcpu.org>
2025-05-23 14:15:14 -05:00
Ujjwal Pande e3a1206c57 api: new carrier lock support
Adding support for carrier lock for MBIM modems using google simlock
mechanism.
2023-06-08 20:16:12 +00:00
Michal Mazur dfc04cbc2e iface-modem-3gpp: define new API to disable facility locks 2021-04-30 18:40:29 +00:00
Aleksander Morgado 10aa516f07 iface-modem-3gpp-profile-manager: new interface for profile management
This interface will provide support for the profile management
operations in different modem types.

This initial commit introduces support for the interface and provides
handlers for the methods that may be called in the interface.
2021-04-29 10:13:22 +00:00
Aleksander Morgado 958c243489 polkit,conf: trivial comment update regarding Signal.Setup() 2019-09-25 13:08:32 +02:00
Aleksander Morgado 110f6fd021 polkit,conf: add missing firmware management methods 2019-09-25 13:08:32 +02:00
Aleksander Morgado 2e5af74db8 polkit,conf: add missing OMA methods 2019-09-25 13:08:32 +02:00
Aleksander Morgado 7a7b3aa5cb polkit,time: protect GetNetworkTime() with a new 'Time' policy rule 2019-09-25 13:08:32 +02:00
Aleksander Morgado be2500b02a polkit,conf: add missing supplementary voice service methods 2019-09-25 12:24:35 +02:00
Aleksander Morgado 01acd9a0d9 polkit,conf: add missing InjectAssistanceData 2019-09-25 12:24:13 +02:00
Aleksander Morgado 9e24d1c12f polkit,conf: add missing SetInitialEpsBearerSettings 2019-09-25 12:23:59 +02:00
Aleksander Morgado 614c7fbc7e polkit,conf: add missing SetEpsUeModeOperation 2019-09-25 12:23:44 +02:00
Aleksander Morgado f2182a73bf polkit,conf: add missing SetCurrentCapabilities 2019-09-25 12:21:48 +02:00
Aleksander Morgado 3696a009c5 polkit,conf: add missing SetPowerState 2019-09-25 12:21:32 +02:00
Aleksander Morgado d3e75eec97 policy,conf: use SetCurrentBands instead of SetBands 2019-09-25 12:21:12 +02:00
Mohammed Sadiq e21e7ddfae policy: Use SetCurrentModes instead of SetAllowedModes
There is no DBus API for SetAllowedModes, but only for SetCurrentModes.
2019-09-24 19:10:31 +05:30
Bob Ham e34699cc9e policy: Call method name should be SendDtmf rather than SendTone
The method on MMBaseCall is send_tone but the D-Bus method call is
SendDtmf.  Without this patch, calls return
org.freedesktop.DBus.Error.AccessDenied.
2018-12-07 16:47:43 +00:00
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