updated example manifest
[profile/ivi/automotive-message-broker.git] / packaging.in / amb.manifest
index 9d2706e..d13d5e5 100644 (file)
@@ -2,15 +2,28 @@
   <define>
      <domain name="AMB" />
      <provide>
+       <label name="AMB::readall" />
+       <label name="AMB::writeall" />
        <label name="AMB::machinegun" />
      </provide>
      <request>
+       <smack request="_" type="l" />
+       <smack request="System" type="wx" />
+       <smack request="System::Run" type="rwxat" />
+       <smack request="System::Shared" type="rx" />
+       <smack request="AMB::readall" type="rw" />
+       <smack request="AMB::writeall" type="rw" />
        <smack request="AMB::machinegun" type="rw" />
      </request>
+     <permit>
+       <smack permit="_" type="w" />
+       <smack permit="System" type="rwx" />
+       <smack permit="User" type="w" />
+     </permit>
   </define>
   <assign>
     <dbus name="org.automotive.message.broker" own="AMB" bus="system">
-      <node name="/org/automotive/uncategorized/MachineGunTurretStatus">
+      <node name="*/0/MachineGunTurretStatus" >
         <interface name="org.freedesktop.DBus.Properties">
           <method name="Set" >
             <annotation name="com.tizen.smack" value="AMB::machinegun" />
@@ -18,6 +31,7 @@
         </interface>
       </node>
     </dbus>
+    <filesystem path="/usr/bin/ambd" exec_label="AMB" />
   </assign>
   <request>
     <domain name="AMB" />