summaryrefslogtreecommitdiff
path: root/actions/org.freedesktop.policykit.policy.in
blob: d44a0c1873b82e5d2c93da1520845cecf892b978 (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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<?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">

<!-- Policy definitions for core PolicyKit actions. Copyright (c) 2008 Red Hat, Inc. -->

<policyconfig>
  <vendor>The PolicyKit Project</vendor>
  <vendor_url>http://hal.freedesktop.org/docs/PolicyKit/</vendor_url>

  <action id="org.freedesktop.policykit.read">
    <_description>Read authorizations of other users</_description>
    <_message>Authentication is required to read authorizations of other users</_message>
    <defaults>
      <allow_any>no</allow_any>
      <allow_inactive>no</allow_inactive>
      <allow_active>auth_admin_keep</allow_active>
    </defaults>
  </action>

  <action id="org.freedesktop.policykit.revoke">
    <_description>Revoke authorizations from other users</_description>
    <_message>Authentication is required to revoke authorizations other users</_message>
    <defaults>
      <allow_any>no</allow_any>
      <allow_inactive>no</allow_inactive>
      <allow_active>auth_admin_keep</allow_active>
    </defaults>
  </action>

  <action id="org.freedesktop.policykit.grant">
    <_description>Grant authorizations to other users</_description>
    <_message>Authentication is required to grant authorizations to other users</_message>
    <defaults>
      <allow_any>no</allow_any>
      <allow_inactive>no</allow_inactive>
      <allow_active>auth_admin_keep</allow_active>
    </defaults>
  </action>

  <action id="org.freedesktop.policykit.modify-defaults">
    <_description>Modify defaults for implicit authorizations</_description>
    <_message>Authentication is required to modify the defaults for implicit authorizations</_message>
    <defaults>
      <allow_any>no</allow_any>
      <allow_inactive>no</allow_inactive>
      <allow_active>auth_admin_keep</allow_active>
    </defaults>
  </action>

  <action id="org.freedesktop.policykit.exec">
    <_description>Run programs as another user</_description>
    <_message>Authentication is required to run a program as another user</_message>
    <defaults>
      <allow_any>auth_admin</allow_any>
      <allow_inactive>auth_admin</allow_inactive>
      <allow_active>auth_admin</allow_active>
    </defaults>
  </action>
</policyconfig>