Codebase list policykit-1-gnome / debian/0.7-1 examples / polkit-gnome-example.policy
debian/0.7-1

Tree @debian/0.7-1 (Download .tar.gz)

polkit-gnome-example.policy @debian/0.7-1raw · history · blame

<?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>

  <action id="org.gnome.policykit.examples.jump">
    <description>Jump</description>
    <message>System policy prevents the PolicyKit-gnome example helper from Jumping</message>
    <defaults>
      <allow_inactive>no</allow_inactive>
      <allow_active>auth_self_one_shot</allow_active>
    </defaults>
  </action>

  <action id="org.gnome.policykit.examples.frobnicate">
    <description>Frobnicate</description>
    <description xml:lang="da">Frobniker</description>
    <message>System policy prevents the PolicyKit-gnome example helper from Frobnicating</message>
    <message xml:lang="da">System indstillinger forhindrer PolicyKit-gnome eksempel hjælper i at Frobnikere!</message>
    <defaults>
      <allow_inactive>no</allow_inactive>
      <allow_active>auth_self</allow_active>
    </defaults>
  </action>
  
  <action id="org.gnome.policykit.examples.tweak">
    <description>Tweak</description>
    <description xml:lang="da">Tvæk</description>
    <message>System policy prevents the PolicyKit-gnome example helper from Tweaking</message>
    <message xml:lang="da">System indstillinger forhindrer PolicyKit-gnome eksempel hjælper i at Tvække!</message>
    <defaults>
      <allow_inactive>no</allow_inactive>
      <allow_active>auth_admin</allow_active>
    </defaults>
  </action>
  
  <action id="org.gnome.policykit.examples.twiddle">
    <description>Twiddle</description>
    <description xml:lang="da">Tvidl</description>
    <message>System policy prevents the PolicyKit-gnome example helper from Twiddling</message>
    <message xml:lang="da">System indstillinger forhindrer PolicyKit-gnome eksempel hjælper i at Tvidle!</message>
    <defaults>
      <allow_inactive>no</allow_inactive>
      <allow_active>auth_admin_keep_always</allow_active>
    </defaults>
  </action>
  
  <action id="org.gnome.policykit.examples.punch">
    <description>Punch</description>
    <description xml:lang="da">Smadre</description>
    <message>System policy prevents the PolicyKit-gnome example helper from Punching</message>
    <message xml:lang="da">System indstillinger forhindrer PolicyKit-gnome eksempel hjælper i at Smadre!</message>
    <defaults>
      <allow_inactive>no</allow_inactive>
      <allow_active>auth_self_keep_session</allow_active>
    </defaults>
  </action>

  <action id="org.gnome.policykit.examples.toggle">
    <description>Toggle</description>
    <message>System policy prevents the PolicyKit-gnome example helper from Toggling</message>
    <defaults>
      <allow_inactive>no</allow_inactive>
      <allow_active>auth_admin_keep_always</allow_active>
    </defaults>
  </action>

  <action id="org.gnome.policykit.examples.kick-foo">
    <description>Kick foo</description>
    <message>System policy prevents the PolicyKit-gnome example helper from Kicking foo</message>
    <message xml:lang="da">System indstillinger forhindrer PolicyKit-gnome eksempel hjælper fra at Sparke foo!</message>
    <defaults>
      <allow_inactive>no</allow_inactive>
      <allow_active>auth_self</allow_active>
    </defaults>
    <annotate key="org.gnome.policykit.examples.kick-path">foo</annotate>
  </action>

  <action id="org.gnome.policykit.examples.kick-bar">
    <description>Kick bar</description>
    <message>System policy prevents the PolicyKit-gnome example helper from Kicking bar</message>
    <message xml:lang="da">System indstillinger forhindrer PolicyKit-gnome eksempel hjælper fra at Sparke bar!</message>
    <defaults>
      <allow_inactive>no</allow_inactive>
      <allow_active>auth_self</allow_active>
    </defaults>
    <annotate key="org.gnome.policykit.examples.kick-path">bar</annotate>
  </action>

  <action id="org.gnome.policykit.examples.kick-baz">
    <description>Kick baz</description>
    <message>System policy prevents the PolicyKit-gnome example helper from Kicking baz</message>
    <message xml:lang="da">System indstillinger forhindrer PolicyKit-gnome eksempel hjælper fra at Sparke baz!</message>
    <defaults>
      <allow_inactive>no</allow_inactive>
      <allow_active>auth_self</allow_active>
    </defaults>
    <annotate key="org.gnome.policykit.examples.kick-path">baz</annotate>
  </action>

</policyconfig>