mirror of https://gitee.com/openkylin/gvfs.git
35 lines
1.2 KiB
XML
35 lines
1.2 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!DOCTYPE policyconfig PUBLIC
|
|
"-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
|
|
"http://www.freedesktop.org/standards/PolicyKit/1.0/policyconfig.dtd">
|
|
<policyconfig>
|
|
|
|
<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 run gvfsd-admin daemon</message>
|
|
<defaults>
|
|
<allow_any>no</allow_any>
|
|
<allow_inactive>no</allow_inactive>
|
|
<allow_active>auth_admin_keep</allow_active>
|
|
</defaults>
|
|
<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>
|
|
<defaults>
|
|
<allow_any>no</allow_any>
|
|
<allow_inactive>no</allow_inactive>
|
|
<allow_active>auth_admin_keep</allow_active>
|
|
</defaults>
|
|
</action>
|
|
|
|
</policyconfig>
|