mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-04-22 10:01:45 +00:00
Without this fix, the daemon plinth will not able to acquire a DBus connection and listen for the FreedomBox DBus service when running as user plinth user. This is the case for production FreedomBox machines. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
26 lines
640 B
XML
26 lines
640 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-Bus Bus Configuration 1.0//EN"
|
|
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
|
|
|
|
<!--
|
|
This file is part of FreedomBox.
|
|
|
|
Allow only root and plinth users to send any notifications to FreedomBox Service
|
|
or to own the FreedomBox Service.
|
|
|
|
-->
|
|
|
|
<busconfig>
|
|
|
|
<policy user="root">
|
|
<allow own="org.freedombox.Service"/>
|
|
<allow send_destination="org.freedombox.Service"/>
|
|
</policy>
|
|
|
|
<policy user="plinth">
|
|
<allow own="org.freedombox.Service"/>
|
|
<allow send_destination="org.freedombox.Service"/>
|
|
</policy>
|
|
|
|
</busconfig>
|