summaryrefslogtreecommitdiff
path: root/org.xfce.thunar.policy.in.in
blob: 2223aab37fd5f465f7d5483facd83d12aacb7161 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?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>