summaryrefslogtreecommitdiff
path: root/test/valid/test-valid-2-annotations.policy
diff options
context:
space:
mode:
Diffstat (limited to 'test/valid/test-valid-2-annotations.policy')
-rw-r--r--test/valid/test-valid-2-annotations.policy27
1 files changed, 27 insertions, 0 deletions
diff --git a/test/valid/test-valid-2-annotations.policy b/test/valid/test-valid-2-annotations.policy
new file mode 100644
index 0000000..3fbfd33
--- /dev/null
+++ b/test/valid/test-valid-2-annotations.policy
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<policyconfig>
+
+ <action id="org.example.valid2">
+ <description>example 2</description>
+ <message>message 2</message>
+ <defaults>
+ <allow_any>no</allow_any>
+ <allow_inactive>no</allow_inactive>
+ <allow_active>auth_admin_keep_always</allow_active>
+ </defaults>
+ <annotate key="the.key1">Some Value 1</annotate>
+ <annotate key="the.key2">Some Value 2</annotate>
+ </action>
+
+ <action id="org.example.valid2b">
+ <description>example 2</description>
+ <message>message 2</message>
+ <defaults>
+ <allow_any>no</allow_any>
+ <allow_inactive>no</allow_inactive>
+ <allow_active>auth_admin_keep_always</allow_active>
+ </defaults>
+ <annotate key="the.key1">Some Value 1b</annotate>
+ </action>
+
+</policyconfig>