vpn-polkit.policy 929 Bytes
Newer Older
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
<?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>Connection Manager VPN daemon</vendor>
  <icon_name>network-wireless</icon_name>

  <action id="net.connman.vpn.modify">
    <description>Settings configuration</description>
    <message>Policy prevents modification of settings</message>
    <defaults>
      <allow_inactive>no</allow_inactive>
      <allow_active>auth_self_keep_session</allow_active>
    </defaults>
  </action>

  <action id="net.connman.vpn.secret">
    <description>Secrets configuration</description>
    <message>Policy prevents modification of secrets</message>
    <defaults>
      <allow_inactive>no</allow_inactive>
      <allow_active>auth_admin_keep_session</allow_active>
    </defaults>
  </action>

</policyconfig>