|
@@ -79,10 +79,13 @@ class LuticateBusiness
|
79
|
79
|
array(LuticatePermissions::GROUP_DEL, LuticatePermissions::GROUP_GET));
|
80
|
80
|
$route->post("$prefix/groups/$group_id/edit", "${ns}LuticateGroupsController", "edit",
|
81
|
81
|
array(LuticatePermissions::GROUP_EDIT, LuticatePermissions::GROUP_GET));
|
82
|
|
- $route->post("$prefix/groups/$group_id/addUser/$user_id", "${ns}LuticateGroupsController", "addUser",
|
83
|
|
- array(LuticatePermissions::GROUP_ADD_USER, LuticatePermissions::GROUP_GET));
|
84
|
|
- $route->post("$prefix/groups/$group_id/delUser/$user_id", "${ns}LuticateGroupsController", "delUser",
|
85
|
|
- array(LuticatePermissions::GROUP_DEL_USER, LuticatePermissions::GROUP_GET));
|
|
82
|
+
|
|
83
|
+ $route->get("$prefix/groups/$group_id/users/", "${ns}LuticateGroupsController", "getUsers",
|
|
84
|
+ LuticatePermissions::GROUP_GET);
|
|
85
|
+ $route->post("$prefix/groups/$group_id/users/$user_id/add", "${ns}LuticateGroupsController", "addUser",
|
|
86
|
+ array(LuticatePermissions::GROUP_USER_ADD, LuticatePermissions::GROUP_GET));
|
|
87
|
+ $route->post("$prefix/groups/$group_id/users/$user_id/del", "${ns}LuticateGroupsController", "delUser",
|
|
88
|
+ array(LuticatePermissions::GROUP_USER_DEL, LuticatePermissions::GROUP_GET));
|
86
|
89
|
|
87
|
90
|
|
88
|
91
|
$route->get("$prefix/permissions/effective/$user_id/$permission_name", "${ns}LuticatePermissionsController",
|