summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Withnall <pwithnall@endlessos.org>2020-10-19 15:00:27 +0100
committerRobert Ancell <robert.ancell@gmail.com>2021-02-01 03:46:14 +0000
commitdc09e0633c735ab1c733a77f0446f4c03262db74 (patch)
tree80365ea2c221be7555a6710ee0330ec9741013a7
parent2d41210b2f257d30456d175f88573646b7b7163c (diff)
downloadgnome-control-center-dc09e0633c735ab1c733a77f0446f4c03262db74.tar.gz
user-accounts: Imply parental controls permissions when unlocking
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>
-rw-r--r--panels/user-accounts/org.gnome.controlcenter.user-accounts.policy.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/panels/user-accounts/org.gnome.controlcenter.user-accounts.policy.in b/panels/user-accounts/org.gnome.controlcenter.user-accounts.policy.in
index 7d9e68614..c6f09c185 100644
--- a/panels/user-accounts/org.gnome.controlcenter.user-accounts.policy.in
+++ b/panels/user-accounts/org.gnome.controlcenter.user-accounts.policy.in
@@ -15,7 +15,7 @@
<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</annotate>
+ <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>