| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<!DOCTYPE policyconfig PUBLIC |
| 3 |
"-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN" |
| 4 |
"http://www.freedesktop.org/standards/PolicyKit/1.0/policyconfig.dtd"> |
| 5 |
|
| 6 |
<policyconfig> |
| 7 |
|
| 8 |
<vendor>NetworkManager</vendor> |
| 9 |
<vendor_url>https://networkmanager.dev/</vendor_url> |
| 10 |
<icon_name>nm-icon</icon_name> |
| 11 |
|
| 12 |
<action id="org.freedesktop.NetworkManager.enable-disable-network"> |
| 13 |
<description>Enable or disable system networking</description> |
| 14 |
<message>System policy prevents enabling or disabling system networking</message> |
| 15 |
<defaults> |
| 16 |
<allow_inactive>no</allow_inactive> |
| 17 |
<allow_active>yes</allow_active> |
| 18 |
</defaults> |
| 19 |
</action> |
| 20 |
|
| 21 |
<action id="org.freedesktop.NetworkManager.reload"> |
| 22 |
<description>Reload NetworkManager configuration</description> |
| 23 |
<message>System policy prevents reloading NetworkManager</message> |
| 24 |
<defaults> |
| 25 |
<allow_any>auth_admin_keep</allow_any> |
| 26 |
<allow_inactive>auth_admin_keep</allow_inactive> |
| 27 |
<allow_active>auth_admin_keep</allow_active> |
| 28 |
</defaults> |
| 29 |
</action> |
| 30 |
|
| 31 |
<action id="org.freedesktop.NetworkManager.sleep-wake"> |
| 32 |
<description>Put NetworkManager to sleep or wake it up (should only be used by system power management)</description> |
| 33 |
<message>System policy prevents putting NetworkManager to sleep or waking it up</message> |
| 34 |
<defaults> |
| 35 |
<allow_inactive>no</allow_inactive> |
| 36 |
<allow_active>no</allow_active> |
| 37 |
</defaults> |
| 38 |
</action> |
| 39 |
|
| 40 |
<action id="org.freedesktop.NetworkManager.enable-disable-wifi"> |
| 41 |
<description>Enable or disable Wi-Fi devices</description> |
| 42 |
<message>System policy prevents enabling or disabling Wi-Fi devices</message> |
| 43 |
<defaults> |
| 44 |
<allow_inactive>no</allow_inactive> |
| 45 |
<allow_active>yes</allow_active> |
| 46 |
</defaults> |
| 47 |
</action> |
| 48 |
|
| 49 |
<action id="org.freedesktop.NetworkManager.enable-disable-wwan"> |
| 50 |
<description>Enable or disable mobile broadband devices</description> |
| 51 |
<message>System policy prevents enabling or disabling mobile broadband devices</message> |
| 52 |
<defaults> |
| 53 |
<allow_inactive>no</allow_inactive> |
| 54 |
<allow_active>yes</allow_active> |
| 55 |
</defaults> |
| 56 |
</action> |
| 57 |
|
| 58 |
<action id="org.freedesktop.NetworkManager.enable-disable-wimax"> |
| 59 |
<description>Enable or disable WiMAX mobile broadband devices</description> |
| 60 |
<message>System policy prevents enabling or disabling WiMAX mobile broadband devices</message> |
| 61 |
<defaults> |
| 62 |
<allow_inactive>no</allow_inactive> |
| 63 |
<allow_active>yes</allow_active> |
| 64 |
</defaults> |
| 65 |
</action> |
| 66 |
|
| 67 |
<action id="org.freedesktop.NetworkManager.network-control"> |
| 68 |
<description>Allow control of network connections</description> |
| 69 |
<message>System policy prevents control of network connections</message> |
| 70 |
<defaults> |
| 71 |
<allow_any>auth_admin</allow_any> |
| 72 |
<allow_inactive>yes</allow_inactive> |
| 73 |
<allow_active>yes</allow_active> |
| 74 |
</defaults> |
| 75 |
</action> |
| 76 |
|
| 77 |
<action id="org.freedesktop.NetworkManager.wifi.scan"> |
| 78 |
<description>Allow control of Wi-Fi scans</description> |
| 79 |
<message>System policy prevents Wi-Fi scans</message> |
| 80 |
<defaults> |
| 81 |
<allow_any>auth_admin</allow_any> |
| 82 |
<allow_inactive>yes</allow_inactive> |
| 83 |
<allow_active>yes</allow_active> |
| 84 |
</defaults> |
| 85 |
</action> |
| 86 |
|
| 87 |
<action id="org.freedesktop.NetworkManager.wifi.share.protected"> |
| 88 |
<description>Connection sharing via a protected Wi-Fi network</description> |
| 89 |
<message>System policy prevents sharing connections via a protected Wi-Fi network</message> |
| 90 |
<defaults> |
| 91 |
<allow_inactive>no</allow_inactive> |
| 92 |
<allow_active>yes</allow_active> |
| 93 |
</defaults> |
| 94 |
</action> |
| 95 |
|
| 96 |
<action id="org.freedesktop.NetworkManager.wifi.share.open"> |
| 97 |
<description>Connection sharing via an open Wi-Fi network</description> |
| 98 |
<message>System policy prevents sharing connections via an open Wi-Fi network</message> |
| 99 |
<defaults> |
| 100 |
<allow_inactive>no</allow_inactive> |
| 101 |
<allow_active>yes</allow_active> |
| 102 |
</defaults> |
| 103 |
</action> |
| 104 |
|
| 105 |
<action id="org.freedesktop.NetworkManager.settings.modify.own"> |
| 106 |
<description>Modify personal network connections</description> |
| 107 |
<message>System policy prevents modification of personal network settings</message> |
| 108 |
<defaults> |
| 109 |
<allow_any>auth_self_keep</allow_any> |
| 110 |
<allow_inactive>yes</allow_inactive> |
| 111 |
<allow_active>yes</allow_active> |
| 112 |
</defaults> |
| 113 |
</action> |
| 114 |
|
| 115 |
<action id="org.freedesktop.NetworkManager.settings.modify.system"> |
| 116 |
<description>Modify network connections for all users</description> |
| 117 |
<message>System policy prevents modification of network settings for all users</message> |
| 118 |
<defaults> |
| 119 |
<allow_any>auth_admin_keep</allow_any> |
| 120 |
<allow_inactive>@NM_MODIFY_SYSTEM_POLICY@</allow_inactive> |
| 121 |
<allow_active>@NM_MODIFY_SYSTEM_POLICY@</allow_active> |
| 122 |
</defaults> |
| 123 |
</action> |
| 124 |
|
| 125 |
<action id="org.freedesktop.NetworkManager.settings.modify.hostname"> |
| 126 |
<description>Modify persistent system hostname</description> |
| 127 |
<message>System policy prevents modification of the persistent system hostname</message> |
| 128 |
<defaults> |
| 129 |
<allow_any>auth_admin_keep</allow_any> |
| 130 |
<allow_inactive>auth_admin_keep</allow_inactive> |
| 131 |
<allow_active>auth_admin_keep</allow_active> |
| 132 |
</defaults> |
| 133 |
</action> |
| 134 |
|
| 135 |
<action id="org.freedesktop.NetworkManager.settings.modify.global-dns"> |
| 136 |
<description>Modify persistent global DNS configuration</description> |
| 137 |
<message>System policy prevents modification of the persistent global DNS configuration</message> |
| 138 |
<defaults> |
| 139 |
<allow_any>auth_admin_keep</allow_any> |
| 140 |
<allow_inactive>auth_admin_keep</allow_inactive> |
| 141 |
<allow_active>auth_admin_keep</allow_active> |
| 142 |
</defaults> |
| 143 |
</action> |
| 144 |
|
| 145 |
<action id="org.freedesktop.NetworkManager.checkpoint-rollback"> |
| 146 |
<description>Perform a checkpoint or rollback of interfaces configuration</description> |
| 147 |
<message>System policy prevents the creation of a checkpoint or its rollback</message> |
| 148 |
<defaults> |
| 149 |
<allow_any>auth_admin_keep</allow_any> |
| 150 |
<allow_inactive>auth_admin_keep</allow_inactive> |
| 151 |
<allow_active>auth_admin_keep</allow_active> |
| 152 |
</defaults> |
| 153 |
</action> |
| 154 |
|
| 155 |
<action id="org.freedesktop.NetworkManager.enable-disable-statistics"> |
| 156 |
<description>Enable or disable device statistics</description> |
| 157 |
<message>System policy prevents enabling or disabling device statistics</message> |
| 158 |
<defaults> |
| 159 |
<allow_inactive>no</allow_inactive> |
| 160 |
<allow_active>yes</allow_active> |
| 161 |
</defaults> |
| 162 |
</action> |
| 163 |
|
| 164 |
<action id="org.freedesktop.NetworkManager.enable-disable-connectivity-check"> |
| 165 |
<description>Enable or disable connectivity checking</description> |
| 166 |
<message>System policy prevents enabling or disabling connectivity checking</message> |
| 167 |
<defaults> |
| 168 |
<allow_inactive>no</allow_inactive> |
| 169 |
<allow_active>yes</allow_active> |
| 170 |
</defaults> |
| 171 |
</action> |
| 172 |
|
| 173 |
</policyconfig> |
| 174 |
|