Mailinglist Archive: opensuse-buildservice (332 mails)

< Previous Next >
[opensuse-buildservice] [Patch] [1/2] First ACL testsuite bits / search_controller
  • From: "Jan-Simon Möller" <dl9pf@xxxxxx>
  • Date: Fri, 9 Jul 2010 19:53:40 +0200
  • Message-id: <201007091953.40465.dl9pf@xxxxxx>
commit b30369bb2ff0b6dc75d6a402c444585ef8423920
Author: Jan-Simon Möller <jsmoeller@xxxxxxxxxxxxxxxxxxx>
Date: Fri Jul 9 18:45:47 2010 +0200

[api] Add more fixtures for ACL tests: static permission tables.

Signed-off-by: Jan-Simon Möller <jsmoeller@xxxxxxxxxxxxxxxxxxx>

diff --git a/src/api/test/fixtures/roles_static_permissions.yml
b/src/api/test/fixtures/roles_static_permissions.yml
index 80e5207..79a65f8 100644
--- a/src/api/test/fixtures/roles_static_permissions.yml
+++ b/src/api/test/fixtures/roles_static_permissions.yml
@@ -59,3 +59,19 @@ maintainer_9:
maintainer_10:
role_id: 2
static_permission_id: 10
+
+maintainer_11:
+ role_id: 2
+ static_permission_id: 11
+
+maintainer_12:
+ role_id: 2
+ static_permission_id: 12
+
+maintainer_13:
+ role_id: 2
+ static_permission_id: 13
+
+maintainer_16:
+ role_id: 2
+ static_permission_id: 16
diff --git a/src/api/test/fixtures/static_permissions.yml
b/src/api/test/fixtures/static_permissions.yml
index cf994ae..d41fb04 100644
--- a/src/api/test/fixtures/static_permissions.yml
+++ b/src/api/test/fixtures/static_permissions.yml
@@ -50,3 +50,18 @@ local_create_package:
id: 10
title: create_package

+download_binaries:
+ id: 11
+ title: download_binaries
+
+source_access:
+ id: 12
+ title: source_access
+
+private_view:
+ id: 13
+ title: private_view
+
+access:
+ id: 16
+ title: access
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References