yhkylin-backup-tools/backup-daemon/data/com.kylin.backup.conf

22 lines
804 B
Plaintext
Raw Normal View History

2022-02-11 16:28:04 +08:00
<?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 root can own the service -->
<policy user="root">
<allow own="com.kylin.backup"/>
<allow send_interface="com.kylin.backup.manager" />
</policy>
<!-- Allow anyone to invoke methods on the interfaces -->
<policy context="default">
<allow send_interface="com.kylin.backup.manager"/>
<allow send_destination="com.kylin.backup"
send_interface="org.freedesktop.DBus.Introspectable"/>
<allow send_destination="com.kylin.backup"
send_interface="org.freedesktop.DBus.Properties"/>
</policy>
</busconfig>