Andrew de los Reyes | 4e9b9f4 | 2010-04-26 15:06:43 -0700 | [diff] [blame] | 1 | <!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN" |
| 2 | "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"> |
| 3 | <busconfig> |
| 4 | <policy user="root"> |
| 5 | <allow own="org.chromium.UpdateEngine" /> |
| 6 | <allow send_destination="org.chromium.UpdateEngine" /> |
| 7 | </policy> |
| 8 | <policy user="chronos"> |
| 9 | <!-- introspection is denied --> |
| 10 | <deny send_destination="org.chromium.UpdateEngine" |
| 11 | send_interface="org.freedesktop.DBus.Introspectable" /> |
| 12 | <!-- properties denied --> |
| 13 | <deny send_destination="org.chromium.UpdateEngine" |
| 14 | send_interface="org.freedesktop.DBus.Properties" /> |
| 15 | <!-- allow explicit methods --> |
| 16 | <allow send_destination="org.chromium.UpdateEngine" |
| 17 | send_interface="org.chromium.UpdateEngineInterface" |
Darin Petkov | 5a7f565 | 2010-07-22 21:40:09 -0700 | [diff] [blame] | 18 | send_member="AttemptUpdate"/> |
Andrew de los Reyes | 63b96d7 | 2010-05-10 13:08:54 -0700 | [diff] [blame] | 19 | <allow send_destination="org.chromium.UpdateEngine" |
| 20 | send_interface="org.chromium.UpdateEngineInterface" |
Darin Petkov | 5a7f565 | 2010-07-22 21:40:09 -0700 | [diff] [blame] | 21 | send_member="GetStatus"/> |
Darin Petkov | 296889c | 2010-07-23 16:20:54 -0700 | [diff] [blame] | 22 | <allow send_destination="org.chromium.UpdateEngine" |
| 23 | send_interface="org.chromium.UpdateEngineInterface" |
| 24 | send_member="RebootIfNeeded"/> |
Andrew de los Reyes | 4e9b9f4 | 2010-04-26 15:06:43 -0700 | [diff] [blame] | 25 | </policy> |
| 26 | <policy context="default"> |
| 27 | <deny send_destination="org.chromium.UpdateEngine" /> |
| 28 | </policy> |
| 29 | </busconfig> |