<?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>NetworkManager</vendor>
  <vendor_url>http://www.gnome.org/projects/NetworkManager</vendor_url>
  <icon_name>nm-icon</icon_name>

  <action id="org.freedesktop.network-manager-settings.system.modify">
    <_description>Modify system connections</_description>
    <_message>System policy prevents modification of system settings</_message>
    <defaults>
      <allow_inactive>no</allow_inactive>
      <allow_active>auth_admin_keep</allow_active>
    </defaults>
  </action>

  <action id="org.freedesktop.network-manager-settings.system.hostname.modify">
    <_description>Modify persistent system hostname</_description>
    <_message>System policy prevents modification of the persistent system hostname</_message>
    <defaults>
      <allow_inactive>no</allow_inactive>
      <allow_active>auth_admin_keep</allow_active>
    </defaults>
  </action>

  <action id="org.freedesktop.network-manager-settings.system.wifi.share.protected">
    <_description>Connection sharing via a protected WiFi network</_description>
    <_message>System policy prevents sharing connections via a protected WiFi network</_message>
    <defaults>
      <allow_inactive>no</allow_inactive>
      <allow_active>yes</allow_active>
    </defaults>
  </action>

  <action id="org.freedesktop.network-manager-settings.system.wifi.share.open">
    <_description>Connection sharing via an open WiFi network</_description>
    <_message>System policy prevents sharing connections via an open WiFi network</_message>
    <defaults>
      <allow_inactive>no</allow_inactive>
      <allow_active>yes</allow_active>
    </defaults>
  </action>

</policyconfig>
