[gnome-initial-setup: 11/20] data: Acquire parental controls permissions for g-i-s



commit 93e10ac5f45c6de4827732c8a1dc8797b9df4746
Author: Philip Withnall <withnall endlessm com>
Date:   Thu Feb 6 13:02:19 2020 +0000

    data: Acquire parental controls permissions for g-i-s
    
    Allow g-i-s to view and set parental controls without needing polkit
    permission dialogues.
    
    Signed-off-by: Philip Withnall <withnall endlessm com>

 data/20-gnome-initial-setup.rules | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/data/20-gnome-initial-setup.rules b/data/20-gnome-initial-setup.rules
index 3c85021..514aa8a 100644
--- a/data/20-gnome-initial-setup.rules
+++ b/data/20-gnome-initial-setup.rules
@@ -16,7 +16,8 @@ polkit.addRule(function(action, subject) {
                          action.id.indexOf('org.freedesktop.accounts.') === 0 ||
                          action.id.indexOf('org.freedesktop.timedate1.') === 0 ||
                          action.id.indexOf('org.freedesktop.realmd.') === 0 ||
-                         action.id.indexOf('org.freedesktop.RealtimeKit1.') === 0);
+                         action.id.indexOf('org.freedesktop.RealtimeKit1.') === 0 ||
+                         action.id.indexOf('com.endlessm.ParentalControls.') === 0);
 
     if (actionMatches) {
         if (subject.local)


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