summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorDavid Zeuthen <davidz@redhat.com>2009-09-29 11:57:23 -0400
committerDavid Zeuthen <davidz@redhat.com>2009-09-29 11:57:23 -0400
commitce29effd0d2405e2adea7dc496be8ed841083ed1 (patch)
treec104ae4de7c23e3d14b6be9b33f77e5d382913e4 /data
parent49de132d4ed313926f7e7f92da22cd6a3e50da18 (diff)
downloadpolkit-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')
-rw-r--r--data/org.freedesktop.PolicyKit1.Authority.xml2
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."/>