diff options
Diffstat (limited to 'examples/org.qt.policykit.examples.policy')
-rw-r--r-- | examples/org.qt.policykit.examples.policy | 81 |
1 files changed, 81 insertions, 0 deletions
diff --git a/examples/org.qt.policykit.examples.policy b/examples/org.qt.policykit.examples.policy new file mode 100644 index 000000000..e42430c84 --- /dev/null +++ b/examples/org.qt.policykit.examples.policy @@ -0,0 +1,81 @@ +<?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>KDE</vendor> + <vendor_url>http://www.kde.org</vendor_url> + + <action id="org.qt.policykit.examples.kick"> + <description>Kick</description> + <message>Prevents PolicyKit-Qt example from kicking</message> + <defaults> + <allow_inactive>no</allow_inactive> + <allow_active>no</allow_active> + </defaults> + </action> + + <action id="org.qt.policykit.examples.cry"> + <description>Cry</description> + <message>Prevents PolicyKit-Qt example from crying</message> + <defaults> + <allow_inactive>no</allow_inactive> + <allow_active>yes</allow_active> + </defaults> + </action> + + <action id="org.qt.policykit.examples.bleed"> + <description>Bleed</description> + <message>Prevents PolicyKit-Qt example from bleeding</message> + <defaults> + <allow_inactive>no</allow_inactive> + <allow_active>auth_self</allow_active> + </defaults> + </action> + + <action id="org.qt.policykit.examples.play"> + <description>Play</description> + <message>Prevents PolicyKit-Qt example from playing</message> + <defaults> + <allow_inactive>no</allow_inactive> + <allow_active>auth_admin</allow_active> + </defaults> + </action> + + <action id="org.qt.policykit.examples.listen"> + <description>Listen</description> + <message>Prevents PolicyKit-Qt example from listening</message> + <defaults> + <allow_inactive>no</allow_inactive> + <allow_active>auth_self_keep</allow_active> + </defaults> + </action> + + <action id="org.qt.policykit.examples.delete"> + <description>Delete</description> + <message>Prevents PolicyKit-Qt example from deleting</message> + <defaults> + <allow_inactive>no</allow_inactive> + <allow_active>auth_admin_keep</allow_active> + </defaults> + </action> + + <action id="org.qt.policykit.examples.set"> + <description>Push</description> + <message>Prevents PolicyKit-Qt example from setting permissions for the shout action</message> + <defaults> + <allow_inactive>no</allow_inactive> + <allow_active>auth_admin_keep</allow_active> + </defaults> + </action> + + <action id="org.qt.policykit.examples.shout"> + <description>Shout</description> + <message>Prevents PolicyKit-Qt example from shouting</message> + <defaults> + <allow_inactive>no</allow_inactive> + <allow_active>yes</allow_active> + </defaults> + <annotate key="org.qt.policykit.examples.shout">foo</annotate> + </action> +</policyconfig> |