diff options
author | David Zeuthen <davidz@redhat.com> | 2009-09-29 11:57:23 -0400 |
---|---|---|
committer | David Zeuthen <davidz@redhat.com> | 2009-09-29 11:57:23 -0400 |
commit | ce29effd0d2405e2adea7dc496be8ed841083ed1 (patch) | |
tree | c104ae4de7c23e3d14b6be9b33f77e5d382913e4 /data/org.freedesktop.PolicyKit1.Authority.xml | |
parent | 49de132d4ed313926f7e7f92da22cd6a3e50da18 (diff) | |
download | polkit-ce29effd0d2405e2adea7dc496be8ed841083ed1.tar.gz |
Clarify when AllowUserInteraction should and shouldn't be used
See https://bugzilla.redhat.com/show_bug.cgi?id=526053 for more details.
Diffstat (limited to 'data/org.freedesktop.PolicyKit1.Authority.xml')
-rw-r--r-- | data/org.freedesktop.PolicyKit1.Authority.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/org.freedesktop.PolicyKit1.Authority.xml b/data/org.freedesktop.PolicyKit1.Authority.xml index 188f8e1..0263c16 100644 --- a/data/org.freedesktop.PolicyKit1.Authority.xml +++ b/data/org.freedesktop.PolicyKit1.Authority.xml @@ -242,7 +242,7 @@ <!-- ---------------------------------------------------------------------------------------------------- --> <method name="CheckAuthorization"> - <annotation name="org.gtk.EggDBus.DocString" value="<para>Checks if @subject is authorized to perform the action with identifier @action_id.</para><para>If @cancellation_id is non-empty and already in use for the caller, the %org.freedesktop.PolicyKit1.Error.CancellationIdNotUnique error is returned.</para>"/> + <annotation name="org.gtk.EggDBus.DocString" value="<para>Checks if @subject is authorized to perform the action with identifier @action_id.</para><para>If @cancellation_id is non-empty and already in use for the caller, the %org.freedesktop.PolicyKit1.Error.CancellationIdNotUnique error is returned.</para><para>Note that %CheckAuthorizationFlags.AllowUserInteraction SHOULD be passed ONLY if the event that triggered the authorization check is stemming from an user action, e.g. the user pressing a button or attaching a device.</para>"/> <arg name="subject" direction="in" type="(sa{sv})"> <annotation name="org.gtk.EggDBus.DocString" value="A #Subject struct."/> |