Commit 3ec0bfa5 authored by Slava Monich's avatar Slava Monich

Merge branch 'radio' into 'master'

Run mms-engine under radio account

See merge request !25
parents 212dac10 5e9d5d24
......@@ -5,5 +5,6 @@ Description=MMS engine service
Type=dbus
BusName=org.nemomobile.MmsEngine
ExecStart=/usr/sbin/mms-engine -o syslog
User=nemo
Group=privileged
User=radio
Group=radio
SupplementaryGroups=privileged inet
......@@ -3,22 +3,18 @@
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<!-- This file goes to /etc/dbus-1/system.d -->
<busconfig>
<policy user="root">
<policy context="default">
<allow own="org.nemomobile.MmsEngine"/>
<allow send_destination="org.nemomobile.MmsEngine"/>
<allow send_interface="org.nemomobile.MmsEngine"/>
</policy>
<!-- allow radio user (ofono) signaling -->
<policy user="radio">
<allow send_destination="org.nemomobile.MmsEngine"/>
<allow send_interface="org.nemomobile.MmsEngine"/>
</policy>
<!-- allow regular user for debugging -->
<policy user="nemo">
<allow own="org.nemomobile.MmsEngine"/>
<allow send_destination="org.nemomobile.MmsEngine"/>
<allow send_interface="org.nemomobile.MmsEngine"/>
<!-- The actual access control is done by mms-engine at runtime -->
<allow send_destination="org.nemomobile.MmsEngine"
send_interface="org.nemomobile.MmsEngine"/>
<allow send_destination="org.nemomobile.MmsEngine"
send_interface="org.nemomobile.MmsEngine.TransferList"/>
<allow send_destination="org.nemomobile.MmsEngine"
send_interface="org.nemomobile.MmsEngine.Transfer"/>
<allow send_destination="org.nemomobile.MmsEngine"
send_interface="org.nemomobile.Logger"/>
<allow send_destination="org.nemomobile.MmsEngine"
send_interface="org.freedesktop.DBus.Introspectable"/>
</policy>
</busconfig>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment