| 1 | <?xml version="1.0" encoding="UTF-8"?> <!-- -*- XML -*- --> |
| 2 | |
| 3 | <!DOCTYPE busconfig PUBLIC |
| 4 | "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN" |
| 5 | "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"> |
| 6 | <busconfig> |
| 7 | |
| 8 | <!-- Only root can own the service --> |
| 9 | <policy user="root"> |
| 10 | <allow own="com.deepin.bootmaker"/> |
| 11 | </policy> |
| 12 | |
| 13 | <!-- Allow anyone to invoke methods on the interfaces --> |
| 14 | <policy context="default"> |
| 15 | <allow own="com.deepin.bootmaker"/> |
| 16 | <allow send_destination="com.deepin.bootmaker"/> |
| 17 | |
| 18 | <allow send_destination="com.deepin.bootmaker" |
| 19 | send_interface="com.deepin.bootmaker"/> |
| 20 | <allow send_destination="com.deepin.bootmaker" |
| 21 | send_interface="org.freedesktop.DBus.Properties"/> |
| 22 | <allow send_destination="com.deepin.bootmaker" |
| 23 | send_interface="org.freedesktop.DBus.Introspectable"/> |
| 24 | </policy> |
| 25 | |
| 26 | </busconfig> |