34 lines
1.6 KiB
Text
34 lines
1.6 KiB
Text
|
|
<?xml version="1.0" encoding="UTF-8"?> <!--*-nxml-*-->
|
||
|
|
<!-- SPDX-License-Identifier: GPL-3.0-only -->
|
||
|
|
<!-- SPDX-FileCopyrightText: Copyright (C) 2026 Catcrafts® -->
|
||
|
|
<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
|
||
|
|
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
|
||
|
|
<!-- imsd-ofonod system-bus policy: imsd presented as an oFono modem, which is
|
||
|
|
the seam GNOME Calls' bundled `ofono` provider plugin drives.
|
||
|
|
Install: /usr/share/dbus-1/system.d/imsd-ofono.conf
|
||
|
|
|
||
|
|
Deliberately NOT named org.ofono.conf on disk: the real oFono package
|
||
|
|
ships that filename, and the two must not silently overwrite each other.
|
||
|
|
They cannot run together in any case — one org.ofono name, one owner. -->
|
||
|
|
<busconfig>
|
||
|
|
<policy user="root">
|
||
|
|
<allow own="org.ofono"/>
|
||
|
|
<!-- imsd (root) reaches this daemon only by broadcast signals, and
|
||
|
|
dbus-broker checks a broadcast against the sender's send policy for
|
||
|
|
every name the receiver owns (dbus-daemon does not): without this
|
||
|
|
line the default deny below silently drops every CallAdded /
|
||
|
|
CallStateChanged from imsd on the way to imsd-ofonod (found on the
|
||
|
|
FP6, 2026-09-20). -->
|
||
|
|
<allow send_destination="org.ofono"/>
|
||
|
|
</policy>
|
||
|
|
<!-- the session user's GNOME Calls drives the modem; call control is
|
||
|
|
exactly what net.catcrafts.IMS1 already grants it through the dialerd -->
|
||
|
|
<policy user="user">
|
||
|
|
<allow send_destination="org.ofono"/>
|
||
|
|
<allow receive_sender="org.ofono"/>
|
||
|
|
</policy>
|
||
|
|
<policy context="default">
|
||
|
|
<deny own="org.ofono"/>
|
||
|
|
<deny send_destination="org.ofono"/>
|
||
|
|
</policy>
|
||
|
|
</busconfig>
|