diff options
author | David Zeuthen <davidz@redhat.com> | 2009-09-16 11:47:34 -0400 |
---|---|---|
committer | David Zeuthen <davidz@redhat.com> | 2009-09-16 11:47:34 -0400 |
commit | 49de132d4ed313926f7e7f92da22cd6a3e50da18 (patch) | |
tree | c81fb937f9a9dfa12aaffa6f637a617fb7925879 /data | |
parent | 50385761decb0a5a79c6cdc975b427c5918d7de3 (diff) | |
download | polkit-49de132d4ed313926f7e7f92da22cd6a3e50da18.tar.gz |
Add properties with information about the currently used authority
Also bump requirement on EggDBus to 0.6 (to be released later) for a
bug-fix with flag properties.
Diffstat (limited to 'data')
-rw-r--r-- | data/org.freedesktop.PolicyKit1.Authority.xml | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/data/org.freedesktop.PolicyKit1.Authority.xml b/data/org.freedesktop.PolicyKit1.Authority.xml index e71dc20..188f8e1 100644 --- a/data/org.freedesktop.PolicyKit1.Authority.xml +++ b/data/org.freedesktop.PolicyKit1.Authority.xml @@ -195,6 +195,37 @@ <!-- ---------------------------------------------------------------------------------------------------- --> + <!-- Flags describing what features the Authority implementation supports --> + <annotation name="org.gtk.EggDBus.DeclareFlags" value="AuthorityFeatures"> + <annotation name="org.gtk.EggDBus.DocString.Summary" value="Authority Features"/> + <annotation name="org.gtk.EggDBus.DocString" value="Flags describing features supported by the Authority implementation."/> + + <annotation name="org.gtk.EggDBus.Flags.Member" value="TemporaryAuthorization"> + <annotation name="org.gtk.EggDBus.DocString" value="The authority supports temporary authorizations that can be obtained through authentication."/> + </annotation> + + <annotation name="org.gtk.EggDBus.Flags.Member" value="Lockdown"> + <annotation name="org.gtk.EggDBus.DocString" value="The authority supports the XXX method."/> + </annotation> + </annotation> + + <!-- ---------------------------------------------------------------------------------------------------- --> + + <property name="BackendName" type="s" access="read"> + <annotation name="org.gtk.EggDBus.DocString" value="The name of the currently used Authority backend."/> + </property> + + <property name="BackendVersion" type="s" access="read"> + <annotation name="org.gtk.EggDBus.DocString" value="The version of the currently used Authority backend."/> + </property> + + <property name="BackendFeatures" type="u" access="read"> + <annotation name="org.gtk.EggDBus.Type" value="AuthorityFeatures"/> + <annotation name="org.gtk.EggDBus.DocString" value="The features supported by the currently used Authority backend."/> + </property> + + <!-- ---------------------------------------------------------------------------------------------------- --> + <method name="EnumerateActions"> <annotation name="org.gtk.EggDBus.DocString" value="Enumerates all registered PolicyKit actions."/> |