1
0
mirror of https://github.com/haiwen/ccnet-server.git synced 2025-09-05 23:00:21 +00:00

Support listing child groups and users.

This commit is contained in:
cuihaikuo
2018-05-08 17:50:21 +08:00
parent c095959cce
commit d8937ae5ad
6 changed files with 125 additions and 0 deletions

View File

@@ -88,6 +88,12 @@ GList *
ccnet_group_manager_get_group_members (CcnetGroupManager *mgr, int group_id,
GError **error);
GList *
ccnet_group_manager_get_members_with_prefix (CcnetGroupManager *mgr,
int group_id,
const char *prefix,
GError **error);
int
ccnet_group_manager_check_group_staff (CcnetGroupManager *mgr,
int group_id,
@@ -123,6 +129,10 @@ GList *
ccnet_group_manager_get_child_groups (CcnetGroupManager *mgr, int group_id,
GError **error);
GList *
ccnet_group_manager_get_descendants_groups (CcnetGroupManager *mgr, int group_id,
GError **error);
GList *
ccnet_group_manager_get_ancestor_groups (CcnetGroupManager *mgr, int group_id);