[gnome-control-center] user-accounts: Imply parental controls permissions when unlocking



commit dc09e0633c735ab1c733a77f0446f4c03262db74
Author: Philip Withnall <pwithnall endlessos org>
Date:   Mon Oct 19 15:00:27 2020 +0100

    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>

 panels/user-accounts/org.gnome.controlcenter.user-accounts.policy.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
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>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]