[system-tools-backends-clone] Update PolicyKit configuration files (rename and adapt)



commit a92ebaabfecaf9b576cc35c1e955c43d34a3657c
Author: Milan Bouchet-Valat <nalimilan club fr>
Date:   Tue Aug 18 22:59:56 2009 +0200

    Update PolicyKit configuration files (rename and adapt)

 Makefile.am                                        |    6 +++---
 ...onf => org.freedesktop.SystemToolsBackends.conf |    0
 ...> org.freedesktop.SystemToolsBackends.policy.in |    8 ++++----
 3 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index bc8c504..3e14820 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -26,7 +26,7 @@ scripts_SCRIPTS = $(scripts)
 
 EXTRA_DIST = \
 	system-tools-backends-2.0.pc.in \
-	system-tools-backends.conf \
+	org.freedesktop.SystemToolsBackends.conf \
 	$(policy_in_files) \
 	org.freedesktop.SystemToolsBackends.service.in \
 	test-backends.in \
@@ -54,11 +54,11 @@ service_DATA = org.freedesktop.SystemToolsBackends.service
 
 # DBus system.d file
 systemddir = $(DBUS_SYSTEMD_DIR)
-systemd_DATA = system-tools-backends.conf
+systemd_DATA = org.freedesktop.SystemToolsBackends.conf
 
 if HAVE_POLKIT
 policydir = $(POLKIT_POLICY_DIR)
-policy_in_files = system-tools-backends.policy.in
+policy_in_files = org.freedesktop.SystemToolsBackends.policy.in
 policy_DATA = $(policy_in_files:.policy.in=.policy)
 
 @INTLTOOL_POLICY_RULE@
diff --git a/system-tools-backends.conf b/org.freedesktop.SystemToolsBackends.conf
similarity index 100%
rename from system-tools-backends.conf
rename to org.freedesktop.SystemToolsBackends.conf
diff --git a/system-tools-backends.policy.in b/org.freedesktop.SystemToolsBackends.policy.in
similarity index 65%
rename from system-tools-backends.policy.in
rename to org.freedesktop.SystemToolsBackends.policy.in
index 2ebc88c..1db94cb 100644
--- a/system-tools-backends.policy.in
+++ b/org.freedesktop.SystemToolsBackends.policy.in
@@ -7,16 +7,16 @@
 
   <action id="org.freedesktop.systemtoolsbackends.set">
     <_description>Manage system configuration</_description>
-    <_message>System policy prevents modifying the configuration</_message>
+    <_message>System policy prevents modifying the system configuration</_message>
     <defaults>
       <allow_inactive>no</allow_inactive>
-      <allow_active>auth_admin</allow_active>
+      <allow_active>auth_admin_keep</allow_active>
     </defaults>
   </action>
 
   <action id="org.freedesktop.systemtoolsbackends.self.set">
-    <_description>Change user configuration</_description>
-    <_message>System policy prevents modifying the user configuration</_message>
+    <_description>Change the user's own account configuration</_description>
+    <_message>System policy requires you to authenticate in order to modify your user account information</_message>
     <defaults>
       <allow_inactive>no</allow_inactive>
       <allow_active>auth_self</allow_active>



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