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

Aline Manera alinefm at linux.vnet.ibm.com
Thu Feb 16 17:20:45 UTC 2017


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

-- 
2.9.3



More information about the Kimchi-devel mailing list