policy: implement Modem interface rules

This commit is contained in:
Aleksander Morgado
2012-02-26 22:49:48 +01:00
parent d5deb2bb14
commit e176d56b32

View File

@@ -29,6 +29,47 @@
<allow send_destination="org.freedesktop.ModemManager1" <allow send_destination="org.freedesktop.ModemManager1"
send_interface="org.freedesktop.ModemManager1" send_interface="org.freedesktop.ModemManager1"
send_member="SetLogging"/> send_member="SetLogging"/>
<!-- org.freedesktop.ModemManager1.Modem.xml -->
<!-- Allowed for everyone -->
<allow send_destination="org.freedesktop.ModemManager1"
send_interface="org.freedesktop.ModemManager1.Modem"
send_member="ListBearers"/>
<!-- Protected by the Device.Control policy rule -->
<allow send_destination="org.freedesktop.ModemManager1"
send_interface="org.freedesktop.ModemManager1.Modem"
send_member="Enable"/>
<allow send_destination="org.freedesktop.ModemManager1"
send_interface="org.freedesktop.ModemManager1.Modem"
send_member="CreateBearer"/>
<allow send_destination="org.freedesktop.ModemManager1"
send_interface="org.freedesktop.ModemManager1.Modem"
send_member="DeleteBearer"/>
<allow send_destination="org.freedesktop.ModemManager1"
send_interface="org.freedesktop.ModemManager1.Modem"
send_member="Reset"/>
<allow send_destination="org.freedesktop.ModemManager1"
send_interface="org.freedesktop.ModemManager1.Modem"
send_member="FactoryReset"/>
<allow send_destination="org.freedesktop.ModemManager1"
send_interface="org.freedesktop.ModemManager1.Modem"
send_member="SetAllowedModes"/>
<allow send_destination="org.freedesktop.ModemManager1"
send_interface="org.freedesktop.ModemManager1.Modem"
send_member="SetBands"/>
<allow send_destination="org.freedesktop.ModemManager1"
send_interface="org.freedesktop.ModemManager1.Modem"
send_member="Command"/>
</policy> </policy>
<policy user="root"> <policy user="root">