mirror of
https://github.com/AsamK/signal-cli
synced 2025-09-02 04:20:38 +00:00
Pass number as argument to systemd/dbus config
This commit is contained in:
parent
a9e4b8ba98
commit
849678d084
2 changed files with 18 additions and 2 deletions
16
data/org.asamk.Signal_NUMBER.conf
Normal file
16
data/org.asamk.Signal_NUMBER.conf
Normal file
|
@ -0,0 +1,16 @@
|
|||
<?xml version="1.0"?> <!--*-nxml-*-->
|
||||
<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
|
||||
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
|
||||
|
||||
<busconfig>
|
||||
<policy user="signal-cli">
|
||||
<allow own="org.asamk.Signal_%number%"/>
|
||||
<allow send_destination="org.asamk.Signal_%number%"/>
|
||||
<allow receive_sender="org.asamk.Signal_%number%"/>
|
||||
</policy>
|
||||
|
||||
<policy context="default">
|
||||
<allow send_destination="org.asamk.Signal_%number%"/>
|
||||
<allow receive_sender="org.asamk.Signal_%number%"/>
|
||||
</policy>
|
||||
</busconfig>
|
Loading…
Add table
Add a link
Reference in a new issue