Fixed dbus policy
authorKevron Rees <tripzero.kev@gmail.com>
Mon, 8 Jul 2013 22:58:02 +0000 (15:58 -0700)
committerKevron Rees <tripzero.kev@gmail.com>
Mon, 8 Jul 2013 22:58:02 +0000 (15:58 -0700)
plugins/dbus/amb.conf

index 42f962c..0cc4c7b 100644 (file)
@@ -7,13 +7,15 @@
     <allow send_destination="org.automotive.message.broker"/>
 
     <!-- Example: in the default context, this interface is denied write control -->
-    <deny send_destination="org.automotive.message.broker" send_interface="org.automotive.MachineGunTurretStatus" />
+    <deny send_destination="org.automotive.message.broker" send_interface="org.freedesktop.DBus.Properties"
+        send_path="/org/automotive/uncategorized/MachineGunTurretStatus" send_member="Set" />
 
   </policy>
 
   <!-- Example: the following is an example on how a specific interface can be protected using SMACK 
   <policy smack="allow_write_machinegun" >
-    <allow send_desination="org.automotive.message.broker" send_interface="org.automotive.MachineGunTurret" />
+    <allow send_destination="org.automotive.message.broker" send_interface="org.freedesktop.DBus.Properties"
+        send_path="/org/automotive/uncategorized/MachineGunTurretStatus" send_member="Set" />
   </policy>  -->
 
 </busconfig>