1
0
mirror of https://github.com/kakwa/ldapcherry synced 2024-11-05 00:58:55 +01:00
Commit Graph

14 Commits

Author SHA1 Message Date
kakwa
719fa15c74 fixing get_roles unit test 2015-06-19 22:18:36 +02:00
kakwa
01de849204 list of roles and not a uniq role for get_groups 2015-06-18 10:04:20 +02:00
kakwa
a62c5a64ac fix unit tests + add graph method
* fix unit tests on roles (adding mandatory description)
* adding a method to get roles graph in json
2015-06-11 09:34:45 +02:00
kakwa
556d1f744b implementing a method to get groups to remove
* implement a way to remove roles from a user
  without removing groups of roles the user keeps
2015-06-08 22:50:54 +02:00
kakwa
30cfd248f7 adding unit tests 2015-06-05 01:01:35 +02:00
kakwa
1735f5da20 simplify roles configuration (backend groups) 2015-06-04 23:34:31 +02:00
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