]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-4464 Added permission template tables to the set of tables copied when starting...
authorJean-Baptiste Vilain <jean-baptiste.vilain@sonarsource.com>
Thu, 11 Jul 2013 09:39:54 +0000 (11:39 +0200)
committerJean-Baptiste Vilain <jean-baptiste.vilain@sonarsource.com>
Thu, 11 Jul 2013 09:39:54 +0000 (11:39 +0200)
sonar-core/src/test/resources/org/sonar/core/persistence/DryRunDatabaseFactoryTest/should_copy_permission_templates.xml [new file with mode: 0644]

diff --git a/sonar-core/src/test/resources/org/sonar/core/persistence/DryRunDatabaseFactoryTest/should_copy_permission_templates.xml b/sonar-core/src/test/resources/org/sonar/core/persistence/DryRunDatabaseFactoryTest/should_copy_permission_templates.xml
new file mode 100644 (file)
index 0000000..623ed1f
--- /dev/null
@@ -0,0 +1,9 @@
+<dataset>
+
+  <permission_templates id="1" name="my template" description="my description"/>
+
+  <perm_templates_users id="1" template_id="1" user_id="1" permission_reference="codeviewer"/>
+
+  <perm_templates_groups id="1" template_id="1" group_id="1" permission_reference="admin"/>
+
+</dataset>
\ No newline at end of file