diff options
Diffstat (limited to 'data/org.freedesktop.PolicyKit1.Authority.xml')
-rw-r--r-- | data/org.freedesktop.PolicyKit1.Authority.xml | 210 |
1 files changed, 105 insertions, 105 deletions
diff --git a/data/org.freedesktop.PolicyKit1.Authority.xml b/data/org.freedesktop.PolicyKit1.Authority.xml index 5f0cac2..06018ee 100644 --- a/data/org.freedesktop.PolicyKit1.Authority.xml +++ b/data/org.freedesktop.PolicyKit1.Authority.xml @@ -2,149 +2,149 @@ "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd"> <node> - <!-- Subject struct --> - <annotation name="org.gtk.EggDBus.DeclareStruct" value="Subject"> - - <annotation name="org.gtk.EggDBus.Struct.Member" value="s:subject_kind"> - <annotation name="org.gtk.EggDBus.DocString" value="Kind of subject"/> - </annotation> + <interface name="org.freedesktop.PolicyKit1.Authority"> + <annotation name="org.gtk.EggDBus.DocString.Summary" value="Authority Interface"/> + <annotation name="org.gtk.EggDBus.DocString" value="This D-Bus interface is implemented by the <literal>/org/freedesktop/PoliycKit1/Authority</literal> object on the well-known name <literal>org.freedesktop.PolicyKit1</literal> on the system message bus."/> - <annotation name="org.gtk.EggDBus.Struct.Member" value="a{sv}:subject_details"> - <annotation name="org.gtk.EggDBus.DocString" value="Details about the subject"/> - </annotation> + <!-- Subject struct --> + <annotation name="org.gtk.EggDBus.DeclareStruct" value="Subject"> - <!-- TODO: document values in hash map for each subject type--> + <annotation name="org.gtk.EggDBus.Struct.Member" value="s:subject_kind"> + <annotation name="org.gtk.EggDBus.DocString" value="Kind of subject"/> + </annotation> - </annotation> + <annotation name="org.gtk.EggDBus.Struct.Member" value="a{sv}:subject_details"> + <annotation name="org.gtk.EggDBus.DocString" value="Details about the subject"/> + </annotation> - <!-- Identity struct --> - <annotation name="org.gtk.EggDBus.DeclareStruct" value="Identity"> + <!-- TODO: document values in hash map for each subject type--> - <annotation name="org.gtk.EggDBus.Struct.Member" value="s:identity_kind"> - <annotation name="org.gtk.EggDBus.DocString" value="Kind of identity"/> </annotation> - <annotation name="org.gtk.EggDBus.Struct.Member" value="a{sv}:identity_details"> - <annotation name="org.gtk.EggDBus.DocString" value="Details about the identity"/> - </annotation> + <!-- Identity struct --> + <annotation name="org.gtk.EggDBus.DeclareStruct" value="Identity"> - <!-- TODO: document values in hash map for each identity type--> + <annotation name="org.gtk.EggDBus.Struct.Member" value="s:identity_kind"> + <annotation name="org.gtk.EggDBus.DocString" value="Kind of identity"/> + </annotation> - </annotation> + <annotation name="org.gtk.EggDBus.Struct.Member" value="a{sv}:identity_details"> + <annotation name="org.gtk.EggDBus.DocString" value="Details about the identity"/> + </annotation> - <!-- An enumeration for implicit authorizations --> - <annotation name="org.gtk.EggDBus.DeclareEnum" value="ImplicitAuthorization"> + <!-- TODO: document values in hash map for each identity type--> - <annotation name="org.gtk.EggDBus.Enum.Member" value="NotAuthorized"> - <annotation name="org.gtk.EggDBus.DocString" value="Subject is not authorized."/> </annotation> - <annotation name="org.gtk.EggDBus.Enum.Member" value="AuthenticationRequired"> - <annotation name="org.gtk.EggDBus.DocString" value="Authentication is required."/> - </annotation> + <!-- ActionDescription struct --> + <annotation name="org.gtk.EggDBus.DeclareStruct" value="ActionDescription"> - <annotation name="org.gtk.EggDBus.Enum.Member" value="AdministratorAuthenticationRequired"> - <annotation name="org.gtk.EggDBus.DocString" value="Authentication as an administrator is required."/> - </annotation> + <annotation name="org.gtk.EggDBus.Struct.Member" value="s:action_id"> + <annotation name="org.gtk.EggDBus.DocString" value="Action Identifier"/> + </annotation> - <annotation name="org.gtk.EggDBus.Enum.Member" value="AuthenticationRequiredRetained"> - <annotation name="org.gtk.EggDBus.DocString" value="Authentication is required. If the authorization is obtained, it is retained."/> - </annotation> + <annotation name="org.gtk.EggDBus.Struct.Member" value="s:description"> + <annotation name="org.gtk.EggDBus.DocString" value="Action Description"/> + </annotation> - <annotation name="org.gtk.EggDBus.Enum.Member" value="AdministratorAuthenticationRequiredRetained"> - <annotation name="org.gtk.EggDBus.DocString" value="Authentication as an administrator is required. If the authorization is obtained, it is retained."/> - </annotation> + <annotation name="org.gtk.EggDBus.Struct.Member" value="s:message"> + <annotation name="org.gtk.EggDBus.DocString" value="Action Message"/> + </annotation> - <annotation name="org.gtk.EggDBus.Enum.Member" value="Authorized"> - <annotation name="org.gtk.EggDBus.DocString" value="The subject is authorized"/> - </annotation> + <annotation name="org.gtk.EggDBus.Struct.Member" value="s:vendor_name"> + <annotation name="org.gtk.EggDBus.DocString" value="Vendor Name"/> + </annotation> - </annotation> + <annotation name="org.gtk.EggDBus.Struct.Member" value="s:vendor_url"> + <annotation name="org.gtk.EggDBus.DocString" value="Vendor URL"/> + </annotation> - <!-- ActionDescription struct --> - <annotation name="org.gtk.EggDBus.DeclareStruct" value="ActionDescription"> + <annotation name="org.gtk.EggDBus.Struct.Member" value="s:icon_name"> + <annotation name="org.gtk.EggDBus.DocString" value="Icon Name"/> + </annotation> - <annotation name="org.gtk.EggDBus.Struct.Member" value="s:action_id"> - <annotation name="org.gtk.EggDBus.DocString" value="Action Identifier"/> - </annotation> + <annotation name="org.gtk.EggDBus.Struct.Member" value="i:implicit_any"> + <annotation name="org.gtk.EggDBus.EnumType" value="ImplicitAuthorization"/> + <annotation name="org.gtk.EggDBus.DocString" value="Defaults for any kind of subject"/> + </annotation> - <annotation name="org.gtk.EggDBus.Struct.Member" value="s:description"> - <annotation name="org.gtk.EggDBus.DocString" value="Action Description"/> - </annotation> + <annotation name="org.gtk.EggDBus.Struct.Member" value="i:implicit_inactive"> + <annotation name="org.gtk.EggDBus.EnumType" value="ImplicitAuthorization"/> + <annotation name="org.gtk.EggDBus.DocString" value="Defaults for subjects in local inactive sessions"/> + </annotation> - <annotation name="org.gtk.EggDBus.Struct.Member" value="s:message"> - <annotation name="org.gtk.EggDBus.DocString" value="Action Message"/> - </annotation> + <annotation name="org.gtk.EggDBus.Struct.Member" value="i:implicit_active"> + <annotation name="org.gtk.EggDBus.EnumType" value="ImplicitAuthorization"/> + <annotation name="org.gtk.EggDBus.DocString" value="Defaults for subjects in local active sessions"/> + </annotation> - <annotation name="org.gtk.EggDBus.Struct.Member" value="s:vendor_name"> - <annotation name="org.gtk.EggDBus.DocString" value="Vendor Name"/> - </annotation> + <annotation name="org.gtk.EggDBus.Struct.Member" value="a{ss}:annotations"> + <annotation name="org.gtk.EggDBus.DocString" value="Annotations"/> + </annotation> - <annotation name="org.gtk.EggDBus.Struct.Member" value="s:vendor_url"> - <annotation name="org.gtk.EggDBus.DocString" value="Vendor URL"/> </annotation> - <annotation name="org.gtk.EggDBus.Struct.Member" value="s:icon_name"> - <annotation name="org.gtk.EggDBus.DocString" value="Icon Name"/> + <!-- Flags used for checking authorizations --> + <annotation name="org.gtk.EggDBus.DeclareFlags" value="CheckAuthorizationFlags"> + <annotation name="org.gtk.EggDBus.Flags.Member" value="AllowUserInteraction"> + <annotation name="org.gtk.EggDBus.DocString" value="If the subject can obtain the authorization through authentication, and an authentication agent is available, then attempt to do so. Note, this means that the #CheckAuthorization() method is likely to block for a long time."/> + </annotation> </annotation> - <annotation name="org.gtk.EggDBus.Struct.Member" value="i:implicit_any"> - <annotation name="org.gtk.EggDBus.EnumType" value="ImplicitAuthorization"/> - <annotation name="org.gtk.EggDBus.DocString" value="Defaults for any kind of subject"/> + <!-- An enumeration for results when checking for an authorization --> + <annotation name="org.gtk.EggDBus.DeclareEnum" value="AuthorizationResult"> + <annotation name="org.gtk.EggDBus.Enum.Member" value="NotAuthorized"> + <annotation name="org.gtk.EggDBus.DocString" value="The subject is not authorized for the specified action"/> + </annotation> + <annotation name="org.gtk.EggDBus.Enum.Member" value="Authorized"> + <annotation name="org.gtk.EggDBus.DocString" value="The subject is authorized for the specified action"/> + </annotation> + <annotation name="org.gtk.EggDBus.Enum.Member" value="Challenge"> + <annotation name="org.gtk.EggDBus.DocString" value="The subject is authorized if more information is provided"/> + </annotation> </annotation> - <annotation name="org.gtk.EggDBus.Struct.Member" value="i:implicit_inactive"> - <annotation name="org.gtk.EggDBus.EnumType" value="ImplicitAuthorization"/> - <annotation name="org.gtk.EggDBus.DocString" value="Defaults for subjects in local inactive sessions"/> - </annotation> + <!-- An enumeration for implicit authorizations --> + <annotation name="org.gtk.EggDBus.DeclareEnum" value="ImplicitAuthorization"> - <annotation name="org.gtk.EggDBus.Struct.Member" value="i:implicit_active"> - <annotation name="org.gtk.EggDBus.EnumType" value="ImplicitAuthorization"/> - <annotation name="org.gtk.EggDBus.DocString" value="Defaults for subjects in local active sessions"/> - </annotation> + <annotation name="org.gtk.EggDBus.Enum.Member" value="NotAuthorized"> + <annotation name="org.gtk.EggDBus.DocString" value="Subject is not authorized."/> + </annotation> - <annotation name="org.gtk.EggDBus.Struct.Member" value="a{ss}:annotations"> - <annotation name="org.gtk.EggDBus.DocString" value="Annotations"/> - </annotation> + <annotation name="org.gtk.EggDBus.Enum.Member" value="AuthenticationRequired"> + <annotation name="org.gtk.EggDBus.DocString" value="Authentication is required."/> + </annotation> - </annotation> + <annotation name="org.gtk.EggDBus.Enum.Member" value="AdministratorAuthenticationRequired"> + <annotation name="org.gtk.EggDBus.DocString" value="Authentication as an administrator is required."/> + </annotation> - <!-- The error domain used for reporting errors --> - <annotation name="org.gtk.EggDBus.DeclareErrorDomain" value="Error"> - <annotation name="org.gtk.EggDBus.ErrorDomain.Member" value="org.freedesktop.PolicyKit1.Error.Failed"> - <annotation name="org.gtk.EggDBus.DocString" value="The operation failed"/> - </annotation> - <annotation name="org.gtk.EggDBus.ErrorDomain.Member" value="org.freedesktop.PolicyKit1.Error.NotSupported"> - <annotation name="org.gtk.EggDBus.DocString" value="Operation is not supported"/> - </annotation> - <annotation name="org.gtk.EggDBus.ErrorDomain.Member" value="org.freedesktop.PolicyKit1.Error.NotAuthorized"> - <annotation name="org.gtk.EggDBus.DocString" value="Not authorized to perform operation"/> - </annotation> - </annotation> + <annotation name="org.gtk.EggDBus.Enum.Member" value="AuthenticationRequiredRetained"> + <annotation name="org.gtk.EggDBus.DocString" value="Authentication is required. If the authorization is obtained, it is retained."/> + </annotation> - <!-- An enumeration for results when checking for an authorization --> - <annotation name="org.gtk.EggDBus.DeclareEnum" value="AuthorizationResult"> - <annotation name="org.gtk.EggDBus.Enum.Member" value="NotAuthorized"> - <annotation name="org.gtk.EggDBus.DocString" value="The subject is not authorized for the specified action"/> - </annotation> - <annotation name="org.gtk.EggDBus.Enum.Member" value="Authorized"> - <annotation name="org.gtk.EggDBus.DocString" value="The subject is authorized for the specified action"/> - </annotation> - <annotation name="org.gtk.EggDBus.Enum.Member" value="Challenge"> - <annotation name="org.gtk.EggDBus.DocString" value="The subject is authorized if more information is provided"/> - </annotation> - </annotation> + <annotation name="org.gtk.EggDBus.Enum.Member" value="AdministratorAuthenticationRequiredRetained"> + <annotation name="org.gtk.EggDBus.DocString" value="Authentication as an administrator is required. If the authorization is obtained, it is retained."/> + </annotation> + + <annotation name="org.gtk.EggDBus.Enum.Member" value="Authorized"> + <annotation name="org.gtk.EggDBus.DocString" value="The subject is authorized"/> + </annotation> - <!-- Flags used for checking authorizations --> - <annotation name="org.gtk.EggDBus.DeclareFlags" value="CheckAuthorizationFlags"> - <annotation name="org.gtk.EggDBus.Flags.Member" value="AllowUserInteraction"> - <annotation name="org.gtk.EggDBus.DocString" value="If the subject can obtain the authorization through authentication, and an authentication agent is available, then attempt to do so. Note, this means that the #CheckAuthorization() method is likely to block for a long time."/> </annotation> - </annotation> - <interface name="org.freedesktop.PolicyKit1.Authority"> - <annotation name="org.gtk.EggDBus.DocString.Summary" value="Authority Interface"/> - <annotation name="org.gtk.EggDBus.DocString" value="This D-Bus interface is implemented by the <literal>/org/freedesktop/PoliycKit1/Authority</literal> object on the well-known name <literal>org.freedesktop.PolicyKit1</literal> on the system message bus."/> + <!-- The error domain used for reporting errors --> + <annotation name="org.gtk.EggDBus.DeclareErrorDomain" value="Error"> + <annotation name="org.gtk.EggDBus.ErrorDomain.Member" value="org.freedesktop.PolicyKit1.Error.Failed"> + <annotation name="org.gtk.EggDBus.DocString" value="The operation failed"/> + </annotation> + <annotation name="org.gtk.EggDBus.ErrorDomain.Member" value="org.freedesktop.PolicyKit1.Error.NotSupported"> + <annotation name="org.gtk.EggDBus.DocString" value="Operation is not supported"/> + </annotation> + <annotation name="org.gtk.EggDBus.ErrorDomain.Member" value="org.freedesktop.PolicyKit1.Error.NotAuthorized"> + <annotation name="org.gtk.EggDBus.DocString" value="Not authorized to perform operation"/> + </annotation> + </annotation> <method name="EnumerateActions"> <annotation name="org.gtk.EggDBus.DocString" value="Enumerates all registered PolicyKit actions."/> |