diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2021-10-31 00:13:21 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2021-10-31 00:14:22 +0900 |
commit | e8933e99b4600d91e9eab7d1ad3a2d35813028a9 (patch) | |
tree | b2899fd1ef651a1bff56918ace94625a4bc14aa0 /examples/org.tqt.policykit.examples.policy | |
parent | e8494e60efeb94c67c813d1c1c038031915e8c17 (diff) | |
download | polkit-tqt-e8933e99b4600d91e9eab7d1ad3a2d35813028a9.tar.gz polkit-tqt-e8933e99b4600d91e9eab7d1ad3a2d35813028a9.zip |
More Qt->TQt conversion and some clean up.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'examples/org.tqt.policykit.examples.policy')
-rw-r--r-- | examples/org.tqt.policykit.examples.policy | 81 |
1 files changed, 81 insertions, 0 deletions
diff --git a/examples/org.tqt.policykit.examples.policy b/examples/org.tqt.policykit.examples.policy new file mode 100644 index 000000000..070feedd3 --- /dev/null +++ b/examples/org.tqt.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.tqt.policykit.examples.kick"> + <description>Kick</description> + <message>Prevents PolicyKit-TQt example from kicking</message> + <defaults> + <allow_inactive>no</allow_inactive> + <allow_active>no</allow_active> + </defaults> + </action> + + <action id="org.tqt.policykit.examples.cry"> + <description>Cry</description> + <message>Prevents PolicyKit-TQt example from crying</message> + <defaults> + <allow_inactive>no</allow_inactive> + <allow_active>yes</allow_active> + </defaults> + </action> + + <action id="org.tqt.policykit.examples.bleed"> + <description>Bleed</description> + <message>Prevents PolicyKit-TQt example from bleeding</message> + <defaults> + <allow_inactive>no</allow_inactive> + <allow_active>auth_self</allow_active> + </defaults> + </action> + + <action id="org.tqt.policykit.examples.play"> + <description>Play</description> + <message>Prevents PolicyKit-TQt example from playing</message> + <defaults> + <allow_inactive>no</allow_inactive> + <allow_active>auth_admin</allow_active> + </defaults> + </action> + + <action id="org.tqt.policykit.examples.listen"> + <description>Listen</description> + <message>Prevents PolicyKit-TQt example from listening</message> + <defaults> + <allow_inactive>no</allow_inactive> + <allow_active>auth_self_keep</allow_active> + </defaults> + </action> + + <action id="org.tqt.policykit.examples.delete"> + <description>Delete</description> + <message>Prevents PolicyKit-TQt example from deleting</message> + <defaults> + <allow_inactive>no</allow_inactive> + <allow_active>auth_admin_keep</allow_active> + </defaults> + </action> + + <action id="org.tqt.policykit.examples.set"> + <description>Push</description> + <message>Prevents PolicyKit-TQt 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.tqt.policykit.examples.shout"> + <description>Shout</description> + <message>Prevents PolicyKit-TQt example from shouting</message> + <defaults> + <allow_inactive>no</allow_inactive> + <allow_active>yes</allow_active> + </defaults> + <annotate key="org.tqt.policykit.examples.shout">foo</annotate> + </action> +</policyconfig> |