PolicyKit: Branch 'master'

David Zeuthen david at kemper.freedesktop.org
Wed Nov 11 14:55:42 PST 2009


 actions/org.freedesktop.policykit.policy.in |   40 ----------------------------
 docs/TODO                                   |    5 ---
 2 files changed, 45 deletions(-)

New commits:
commit be77e29b10090d78495cf34b1dc7c586692eb316
Author: David Zeuthen <davidz at redhat.com>
Date:   Wed Nov 11 17:55:04 2009 -0500

    Drop ununsed policykit actions

diff --git a/actions/org.freedesktop.policykit.policy.in b/actions/org.freedesktop.policykit.policy.in
index fc55649..23608ee 100644
--- a/actions/org.freedesktop.policykit.policy.in
+++ b/actions/org.freedesktop.policykit.policy.in
@@ -9,46 +9,6 @@
   <vendor>The PolicyKit Project</vendor>
   <vendor_url>http://hal.freedesktop.org/docs/PolicyKit/</vendor_url>
 
-  <action id="org.freedesktop.policykit.read">
-    <_description>Read authorizations of other users</_description>
-    <_message>Authentication is required to read authorizations of other users</_message>
-    <defaults>
-      <allow_any>no</allow_any>
-      <allow_inactive>no</allow_inactive>
-      <allow_active>auth_admin_keep</allow_active>
-    </defaults>
-  </action>
-
-  <action id="org.freedesktop.policykit.revoke">
-    <_description>Revoke authorizations from other users</_description>
-    <_message>Authentication is required to revoke authorizations other users</_message>
-    <defaults>
-      <allow_any>no</allow_any>
-      <allow_inactive>no</allow_inactive>
-      <allow_active>auth_admin_keep</allow_active>
-    </defaults>
-  </action>
-
-  <action id="org.freedesktop.policykit.grant">
-    <_description>Grant authorizations to other users</_description>
-    <_message>Authentication is required to grant authorizations to other users</_message>
-    <defaults>
-      <allow_any>no</allow_any>
-      <allow_inactive>no</allow_inactive>
-      <allow_active>auth_admin_keep</allow_active>
-    </defaults>
-  </action>
-
-  <action id="org.freedesktop.policykit.modify-defaults">
-    <_description>Modify defaults for implicit authorizations</_description>
-    <_message>Authentication is required to modify the defaults for implicit authorizations</_message>
-    <defaults>
-      <allow_any>no</allow_any>
-      <allow_inactive>no</allow_inactive>
-      <allow_active>auth_admin_keep</allow_active>
-    </defaults>
-  </action>
-
   <action id="org.freedesktop.policykit.exec">
     <_description>Run programs as another user</_description>
     <_message>Authentication is required to run a program as another user</_message>
diff --git a/docs/TODO b/docs/TODO
index 818adc7..ddbb94c 100644
--- a/docs/TODO
+++ b/docs/TODO
@@ -5,11 +5,6 @@ Needed for 1.0
  - check that all public but unstable API is properly guard off with
    I_KNOW_THIS_API_IS_SUBJECT_TO_CHANGE_ETC
 
- - rethink actions shipped with PolicyKit; we probably just want something
-   very simple that only applies to the local authority backend
-   - some mechanisms don't run as root - how should they convey that
-     they are authorized to check authorizations?
-
  - man page review / section review
 
  - review/restrict symbol visibility in shared libraries


More information about the hal-commit mailing list