[gvfs/wip/oholy/admin-authorization-fix: 4/5] admin: Add comments to .policy file



commit cadb8377a849dfb3a815d05b50a75049095a8d2f
Author: Ondrej Holy <oholy redhat com>
Date:   Mon Jan 14 14:02:23 2019 +0100

    admin: Add comments to .policy file
    
    Add comments to polkit org.gtk.vfs.file-operations.policy file explaining
    the purpose of the different actions.

 daemon/org.gtk.vfs.file-operations.policy.in.in | 2 ++
 1 file changed, 2 insertions(+)
---
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>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]