[Kimchi-devel] [PATCH] [Wok 0/3] Allow protecting an resource action (POST) when resource (GET) is not protected

Lucio Correia luciojhc at linux.vnet.ibm.com
Fri Feb 17 12:55:21 UTC 2017


Reviewed-By: Lucio Correia <luciojhc at linux.vnet.ibm.com>

On 16/02/2017 15:20, Aline Manera wrote:
> This patch also includes test cases and fix some issues found during the test cases creation.
>
> Aline Manera (3):
>   Do not sort tests on Wok
>   Specify user when doing a request instead of trying to override
>     FakeUser class attribute
>   Allow protecting an resource action (POST) when resource (GET) is not
>     protected
>
>  src/wok/control/base.py     | 13 +++++++----
>  src/wok/control/config.py   |  6 ++---
>  tests/run_tests.sh.in       | 16 ++-----------
>  tests/test_authorization.py | 57 +++++++++++++++++++++++++++++++++++++++++++++
>  tests/utils.py              | 18 ++++++--------
>  5 files changed, 78 insertions(+), 32 deletions(-)
>  create mode 100644 tests/test_authorization.py
>


-- 
Lucio Correia



More information about the Kimchi-devel mailing list