[opensuse-buildservice] [Patch] [0/2] First ACL testsuite bits / search_controller
Hi all! Please review these 2 patches. They're adding the first ACL testsuite bits. Either pull from git://gitorious.org/~dl9pf/opensuse/dl9pf-build-service.git or accept the merge request #11. Best, Jan-Simon -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
commit b30369bb2ff0b6dc75d6a402c444585ef8423920
Author: Jan-Simon Möller
On Friday 09 July 2010 19:53:40 Jan-Simon Möller wrote: ...
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
A bit more speaking names would maybe nicer, if possible. Like "private_source_owner" or "outside_user". Maybe you could also re-use existing user definitions ? But no objections.
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
Can you please document here (in comments), what these roles are ? Esp. the difference between source_access and access is unclear to me. It is imho not obvious from the "access" name what it is supposed to do. thanks adrian -- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Monday 12 July 2010 09:49:49 Adrian Schröter wrote:
On Friday 09 July 2010 19:53:40 Jan-Simon Möller wrote: [...]
+maintainer_13: + role_id: 2 + static_permission_id: 13 + +maintainer_16: + role_id: 2 + static_permission_id: 16
A bit more speaking names would maybe nicer, if possible. Like "private_source_owner" or "outside_user".
Maybe you could also re-use existing user definitions ?
But no objections.
Just followed the mass here ;) - you're right, adding more naming.
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
Can you please document here (in comments), what these roles are ? yes. Esp. the difference between source_access and access is unclear to me. It is imho not obvious from the "access" name what it is supposed to do. In short: soure_access blocks _only_ access to the source files. All other is visible. "access" protects all -> aka only visible by maintainer. @Martin can elaborate more.
Best, Jan-Simon -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
commit e1801a2aced786049941e306d4b33ce159dad45a
Author: Jan-Simon Möller
On Friday 09 July 2010 19:52:31 you wrote:
Hi all! Please review these 2 patches. They're adding the first ACL testsuite bits.
Either pull from git://gitorious.org/~dl9pf/opensuse/dl9pf-build-service.git or accept the merge request #11.
Sigh - forgot to remove the debug output - fixed in repo and #12.
Best, Jan-Simon
-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (2)
-
Adrian Schröter
-
Jan-Simon Möller