[gnome-system-monitor] Use auth_admin_keep in policykit permission file.



commit 79eccf0cecbca237f4f911681438c33932da63e2
Author: Robert Roth <robert roth off gmail com>
Date:   Mon Jan 20 13:09:42 2014 +0200

    Use auth_admin_keep in policykit permission file.
    
    With auth_admin used the user had to enter the password once for
    each process to kill/renice if performing an action on multiple
    processes of other users. This way policykit remembers the auth
    details for a brief period, so the user has to enter the password
    only once.

 org.gnome.gnome-system-monitor.policy.in.in |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/org.gnome.gnome-system-monitor.policy.in.in b/org.gnome.gnome-system-monitor.policy.in.in
index dcaf6ee..b3486d2 100644
--- a/org.gnome.gnome-system-monitor.policy.in.in
+++ b/org.gnome.gnome-system-monitor.policy.in.in
@@ -13,7 +13,7 @@
     <defaults>
       <allow_any>no</allow_any>
       <allow_inactive>no</allow_inactive>
-      <allow_active>auth_admin</allow_active>
+      <allow_active>auth_admin_keep</allow_active>
     </defaults>
     <annotate key="org.freedesktop.policykit.exec.path">@pkglibexecdir@/gsm-kill</annotate>
   </action>
@@ -24,7 +24,7 @@
     <defaults>
       <allow_any>no</allow_any>
       <allow_inactive>no</allow_inactive>
-      <allow_active>auth_admin</allow_active>
+      <allow_active>auth_admin_keep</allow_active>
     </defaults>
     <annotate key="org.freedesktop.policykit.exec.path">@pkglibexecdir@/gsm-renice</annotate>
   </action>


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