policy: implement Modem interface rules
This commit is contained in:
@@ -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">
|
||||||
|
Reference in New Issue
Block a user