tricircle/tricircle/tests/unit/api
Dongfeng Huang 9939540c07 Fix bugs in tricircle Admin API
1. What is the problem
When we use admin role for demo project to retrieve jobs/routings
through Admin API, return results include admin project's
jobs/routings. The result should be only related to demo project.

2. What is the solution for the problem
Extract project ID from context and use it as filter. The project
ID filter in URL query string will be ignored, and only the project ID
in which the user is authorized will be used as the filter.

3. What the features need to be implemented to the Tricircle to
realize the solution
Choose project ID as mandatory filter for jobs/routings list operation.

Change-Id: I86778e0525c1fecf45bc473bd42e62909534778b
Closes-Bug: #1711001
Closes-Bug: #1711003
2017-08-17 15:24:12 +08:00
..
controllers Fix bugs in tricircle Admin API 2017-08-17 15:24:12 +08:00
__init__.py Site create API 2015-10-20 11:16:04 +08:00