dbus policy file

pull/16/head
brl 9 years ago
parent 5d4e2561be
commit ef5d2c425b

@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?> <!-- -*- XML -*- -->
<!DOCTYPE busconfig PUBLIC
"-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>
<!-- Only 'user' can own this service -->
<policy user="1000">
<allow own="com.subgraph.FirewallPrompt"/>
</policy>
<!-- Anyone can send messages to com.subgraph.FirewallPrompt -->
<policy context="default">
<allow send_destination="com.subgraph.FirewallPrompt"/>
</policy>
<!-- Only root can own this service -->
<policy user="0">
<allow own="com.subgraph.Firewall" />
</policy>
<!-- Anyone can send messages to com.subgraph.Firewall -->
<policy context="default">
<allow send_destination="com.subgraph.Firewall" />
</policy>
</busconfig>
Loading…
Cancel
Save