| 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 |
"https://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"> |
| 6 |
<busconfig> |
| 7 |
|
| 8 |
<!-- This configuration file specifies the required security policies |
| 9 |
for the ColorManager to work. --> |
| 10 |
|
| 11 |
<!-- Only user root or user @daemon_user@ can own the colord service --> |
| 12 |
<policy user="root"> |
| 13 |
<allow own="org.freedesktop.ColorManager"/> |
| 14 |
</policy> |
| 15 |
<policy user="@daemon_user@"> |
| 16 |
<allow own="org.freedesktop.ColorManager"/> |
| 17 |
</policy> |
| 18 |
|
| 19 |
<!-- Allow anyone to call into the service - we'll reject callers using PolicyKit --> |
| 20 |
<policy context="default"> |
| 21 |
<allow send_destination="org.freedesktop.ColorManager" |
| 22 |
send_interface="org.freedesktop.ColorManager"/> |
| 23 |
<allow send_destination="org.freedesktop.ColorManager" |
| 24 |
send_interface="org.freedesktop.ColorManager.Profile"/> |
| 25 |
<allow send_destination="org.freedesktop.ColorManager" |
| 26 |
send_interface="org.freedesktop.ColorManager.Device"/> |
| 27 |
<allow send_destination="org.freedesktop.ColorManager" |
| 28 |
send_interface="org.freedesktop.ColorManager.Sensor"/> |
| 29 |
<allow send_destination="org.freedesktop.ColorManager" |
| 30 |
send_interface="org.freedesktop.DBus.Properties"/> |
| 31 |
<allow send_destination="org.freedesktop.ColorManager" |
| 32 |
send_interface="org.freedesktop.DBus.Introspectable"/> |
| 33 |
<allow send_destination="org.freedesktop.ColorManager" |
| 34 |
send_interface="org.freedesktop.DBus.Peer"/> |
| 35 |
</policy> |
| 36 |
|
| 37 |
</busconfig> |
| 38 |
|