1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-09-18 16:35:42 +00:00

Add argument for ccnet_get_groups_by_user().

This commit is contained in:
cuihaikuo
2018-05-15 11:29:17 +08:00
parent ebd04e524f
commit cca240c2af
2 changed files with 2 additions and 2 deletions

View File

@@ -55,7 +55,7 @@ check_group_permission_by_user (SeafRepoManager *mgr,
return NULL;
/* Get the groups this user belongs to. */
groups = ccnet_get_groups_by_user (rpc_client, user_name);
groups = ccnet_get_groups_by_user (rpc_client, user_name, 1);
if (!groups) {
goto out;
}