<?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/policyconfig.dtd">
<policyconfig>

  <!--
 Policy definitions for Thunar.
 Copyright (c) 2014 Benedikt Meurer <benny@xfce.org>
                    Jannis Pohlmann <jannis@xfce.org>
                    Jeffs Franks    <jcfranks@xfce.org>
                    Nick Schermer   <nick@xfce.org>
 -->

 <vendor>Thunar</vendor>
 <vendor_url>https://xfce.org/</vendor_url>
 <icon_name>org.xfce.thunar</icon_name>


 <action id="org.xfce.thunar">
 <!-- SECURITY:
 - A normal active user can run thunar without elevated rights. They
   may wish to modify files they normally do not have read/write access
   to. This isn't a good idea, but is common on single user systems.
 -->
 <description>Run Thunar as root</description>
 <message>Authentication is required to run Thunar as root.</message>
 <defaults>
 <allow_any>no</allow_any>
 <allow_inactive>auth_admin</allow_inactive>
 <allow_active>auth_admin</allow_active>
 </defaults>
 <annotate key="org.freedesktop.policykit.exec.path">@bindir@/thunar</annotate>
 <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
 </action>

</policyconfig>
