diff --git a/Makefile.am b/Makefile.am index f271b9cb..860956bf 100644 --- a/Makefile.am +++ b/Makefile.am @@ -19,7 +19,7 @@ all: $(GENERATED_FILES) CLEANFILES = $(GENERATED_FILES) endif -SUBDIRS = marshallers src plugins introspection po test +SUBDIRS = marshallers src plugins introspection po policy test dbusservicedir = $(DBUS_SYS_DIR) dbusservice_DATA = org.freedesktop.ModemManager.conf diff --git a/configure.ac b/configure.ac index ae37fdcd..db885dc0 100644 --- a/configure.ac +++ b/configure.ac @@ -103,6 +103,7 @@ plugins/Makefile test/Makefile introspection/Makefile po/Makefile.in +policy/Makefile ]) AC_OUTPUT diff --git a/policy/org.freedesktop.modem-manager.policy.in b/policy/org.freedesktop.modem-manager.policy.in new file mode 100644 index 00000000..1c6f214c --- /dev/null +++ b/policy/org.freedesktop.modem-manager.policy.in @@ -0,0 +1,39 @@ + + + + + + ModemManager + http://www.freedesktop.org/wiki/ModemManager + modem-manager + + + <_description>Unlock and retrieve mobile broadband device information + <_message>System policy prevents unlocking the device or requesting information from it. + + no + auth_self_keep + + + + + <_description>Add, modify, and delete mobile broadband contacts + <_message>System policy prevents adding, modifying, or deleteing this device's contacts. + + no + auth_self_keep + + + + + <_description>Send, save, modify, and delete text messages + <_message>System policy prevents sending or maniuplating this device's text messages. + + no + auth_self_keep + + + +