summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOndrej Holy <oholy@redhat.com>2019-01-14 14:02:23 +0100
committerOndrej Holy <oholy@redhat.com>2019-01-14 14:14:53 +0100
commitcadb8377a849dfb3a815d05b50a75049095a8d2f (patch)
treecfb6a85715650f8322b09c0bd8338603116610cc
parent04325119859b9eb41c9db97f1c315f3c9ab3d95b (diff)
downloadgvfs-cadb8377a849dfb3a815d05b50a75049095a8d2f.tar.gz
admin: Add comments to .policy file
Add comments to polkit org.gtk.vfs.file-operations.policy file explaining the purpose of the different actions.
-rw-r--r--daemon/org.gtk.vfs.file-operations.policy.in.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/daemon/org.gtk.vfs.file-operations.policy.in.in b/daemon/org.gtk.vfs.file-operations.policy.in.in
index f48a923b..02a7b2ce 100644
--- a/daemon/org.gtk.vfs.file-operations.policy.in.in
+++ b/daemon/org.gtk.vfs.file-operations.policy.in.in
@@ -8,6 +8,7 @@
<vendor>GVfs</vendor>
<vendor_url>http://git.gnome.org/browse/gvfs</vendor_url>
+ <!-- This action is used when starting gvfsd-admin. -->
<action id="org.gtk.vfs.file-operations-helper">
<description>Perform file operations</description>
<message>Authentication is required to perform file operations</message>
@@ -19,6 +20,7 @@
<annotate key="org.freedesktop.policykit.exec.path">@libexecdir@/gvfsd-admin</annotate>
</action>
+ <!-- This action is used to authorize gvfsd-admin operations. -->
<action id="org.gtk.vfs.file-operations">
<description>Perform file operations</description>
<message>Authentication is required to perform file operations</message>