kakwa
1211ab431b
add methods for class Roles + unit tests
...
* adding get_allroles (list all available roles)
* adding get_display_name (get display name of a role)
* add various unit tests
2015-05-17 01:22:53 +02:00
kakwa
0416ebe05b
unit test + admin roles fix
...
* adding various unit tests
* now admin roles are inherited (ex admin-lv2 is admin -> admin-lv3 is admin
* adding an exception when requesting groups for none existant role
2015-05-16 23:52:59 +02:00
kakwa
19f98aa664
more complex unit test for get_roles
2015-05-16 19:40:16 +02:00
kakwa
6289f62c6c
adding a test for get_roles
2015-05-16 19:15:20 +02:00
kakwa
7524a189fe
implementing nesting roles
2015-05-15 01:03:31 +02:00
kakwa
804e2b7202
adding an exception for failures to open role file
2015-05-12 11:34:28 +02:00
kakwa
89e8e2aac0
fix on unit tests for roles
2015-05-12 01:41:32 +02:00
kakwa
2d1fdfe1da
adding test cases and reworking test env
2015-05-12 01:26:57 +02:00