feat(packaging): systemd unit + D-Bus activation/policy files
This commit is contained in:
23
debian/io.dangerousthings.AuthForge.conf
vendored
Normal file
23
debian/io.dangerousthings.AuthForge.conf
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!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 well-known name. -->
|
||||
<policy user="root">
|
||||
<allow own="io.dangerousthings.AuthForge"/>
|
||||
</policy>
|
||||
|
||||
<!-- Any local user may call the interface; method-level authz is enforced
|
||||
by polkit inside the daemon. -->
|
||||
<policy context="default">
|
||||
<allow send_destination="io.dangerousthings.AuthForge"
|
||||
send_interface="io.dangerousthings.AuthForge1"/>
|
||||
<allow send_destination="io.dangerousthings.AuthForge"
|
||||
send_interface="org.freedesktop.DBus.Introspectable"/>
|
||||
<allow send_destination="io.dangerousthings.AuthForge"
|
||||
send_interface="org.freedesktop.DBus.Properties"/>
|
||||
</policy>
|
||||
|
||||
</busconfig>
|
||||
Reference in New Issue
Block a user