📦 various changes

This commit is contained in:
Ducky 2023-02-24 03:23:35 +00:00
parent 0ebb6c8426
commit 910b26f197
33 changed files with 2665 additions and 0 deletions

View file

@ -0,0 +1,5 @@
[D-BUS Service]
Name=org.pantheon.ParentalControls
Exec=/usr/bin/pantheon-parental-controls-daemon
User=root
SystemdService=pantheon-parental-controls.service

View file

@ -0,0 +1,24 @@
<?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>
<!-- This configuration file specifies the required security policies
for the ParentalControls to work. -->
<!-- Only root can own the service -->
<policy user="root">
<allow own="org.pantheon.ParentalControls"/>
</policy>
<policy context="default">
<allow send_destination="org.pantheon.ParentalControls"/>
<allow send_destination="org.pantheon.ParentalControls"
send_interface="org.freedesktop.DBus.Properties"/>
<allow send_destination="org.pantheon.ParentalControls"
send_interface="org.freedesktop.DBus.Introspectable"/>
</policy>
</busconfig>