diff options
author | David Zeuthen <davidz@redhat.com> | 2009-11-11 10:46:50 -0500 |
---|---|---|
committer | David Zeuthen <davidz@redhat.com> | 2009-11-11 10:46:50 -0500 |
commit | 00c00948004b605d424d1e74c91dea5521042571 (patch) | |
tree | e32b16a19d9e944e4543fce9c75fcab256508219 /data | |
parent | 226023177b598ec3574df09015c5cbb71cef7e47 (diff) | |
download | polkit-00c00948004b605d424d1e74c91dea5521042571.tar.gz |
Add methods AddLockdownForAction() and RemoveLockdownForAction()
Now to implement this in the interactive authority...
Diffstat (limited to 'data')
-rw-r--r-- | data/org.freedesktop.PolicyKit1.Authority.xml | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/data/org.freedesktop.PolicyKit1.Authority.xml b/data/org.freedesktop.PolicyKit1.Authority.xml index 0263c16..fbfb9cd 100644 --- a/data/org.freedesktop.PolicyKit1.Authority.xml +++ b/data/org.freedesktop.PolicyKit1.Authority.xml @@ -129,7 +129,7 @@ </annotation> <annotation name="org.gtk.EggDBus.Struct.Member" value="Dict<String,String>:details"> - <annotation name="org.gtk.EggDBus.DocString" value="Details for the result or empty if not authorized. Known key/value-pairs include <literal>polkit.temporary_authorization_id</literal> (if the authorization is temporary, this is set to the opaque temporary authorization id), <literal>polkit.retains_authorization_after_challenge</literal> (Set to a non-empty string if the authorization will be retained after authentication (if is_challenge is TRUE)) and <literal>polkit.localauthority.lockdown</literal> (set to a non-empty string if the action is locked down via pklalockdown(1))."/> + <annotation name="org.gtk.EggDBus.DocString" value="Details for the result or empty if not authorized. Known key/value-pairs include <literal>polkit.temporary_authorization_id</literal> (if the authorization is temporary, this is set to the opaque temporary authorization id), <literal>polkit.retains_authorization_after_challenge</literal> (Set to a non-empty string if the authorization will be retained after authentication (if is_challenge is TRUE)) and <literal>polkit.lockdown</literal> (set to a non-empty string if the action is locked down)."/> </annotation> </annotation> @@ -205,7 +205,7 @@ </annotation> <annotation name="org.gtk.EggDBus.Flags.Member" value="Lockdown"> - <annotation name="org.gtk.EggDBus.DocString" value="The authority supports the XXX method."/> + <annotation name="org.gtk.EggDBus.DocString" value="The authority supports the org.freedesktop.PolicyKit1.Authority.AddLockdownForAction() and org.freedesktop.PolicyKit1.Authority.RemoveLockdownForAction() methods."/> </annotation> </annotation> @@ -389,6 +389,22 @@ <!-- ---------------------------------------------------------------------------------------------------- --> + <method name="AddLockdownForAction"> + <annotation name="org.gtk.EggDBus.DocString" value="Locks down an action so administrator authentication is always needed to obtain a temporary authorization for the action."/> + <arg name="action_id" direction="in" type="s"> + <annotation name="org.gtk.EggDBus.DocString" value="Identifier for the action."/> + </arg> + </method> + + <method name="RemoveLockdownForAction"> + <annotation name="org.gtk.EggDBus.DocString" value="Removes the effect of a previous org.freedesktop.PolicyKit1.Authority.AddLockdownForAction() call."/> + <arg name="action_id" direction="in" type="s"> + <annotation name="org.gtk.EggDBus.DocString" value="Identifier for the action."/> + </arg> + </method> + + <!-- ---------------------------------------------------------------------------------------------------- --> + <signal name="Changed"> <annotation name="org.gtk.EggDBus.DocString" value="This signal is emitted when actions and/or authorizations change"/> </signal> |