This allows querying the parental controls status of other non-admin users once the panel is unlocked. Implication is not recursive in polkit, so it’s unfortunately not sufficient to just imply `org.freedesktop.MalcontentControl.administration` (which itself implies all the other actions). Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
21 lines
1.1 KiB
XML
21 lines
1.1 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE policyconfig PUBLIC
|
|
"-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
|
|
"http://www.freedesktop.org/standards/PolicyKit/1.0/policyconfig.dtd">
|
|
|
|
<policyconfig>
|
|
<vendor>The GNOME Project</vendor>
|
|
<vendor_url>http://www.gnome.org/</vendor_url>
|
|
|
|
<action id="org.gnome.controlcenter.user-accounts.administration">
|
|
<description>Manage user accounts</description>
|
|
<message>Authentication is required to change user data</message>
|
|
<defaults>
|
|
<allow_any>no</allow_any>
|
|
<allow_inactive>no</allow_inactive>
|
|
<allow_active>auth_admin_keep</allow_active>
|
|
</defaults>
|
|
<annotate key="org.freedesktop.policykit.imply">org.freedesktop.accounts.user-administration org.freedesktop.realmd.configure-realm org.freedesktop.realmd.login-policy org.freedesktop.MalcontentControl.administration com.endlessm.ParentalControls.AppFilter.ReadAny com.endlessm.ParentalControls.AppFilter.ChangeAny com.endlessm.ParentalControls.AppFilter.ReadOwn com.endlessm.ParentalControls.AppFilter.ChangeOwn</annotate>
|
|
</action>
|
|
|
|
</policyconfig>
|