mirror of
https://github.com/haiwen/seafile-server.git
synced 2025-09-02 07:54:27 +00:00
Update ccnet_api get_emailusers_in_list().
This commit is contained in:
@@ -947,11 +947,12 @@ class CcnetAPI(object):
|
||||
"""
|
||||
return ccnet_threaded_rpc.get_superusers()
|
||||
|
||||
def get_emailusers_in_list(self, user_list):
|
||||
def get_emailusers_in_list(self, source, user_list):
|
||||
"""
|
||||
@source: 'DB' or 'LDAP'
|
||||
@user_list: json '[user1, user2, user3,...]'
|
||||
"""
|
||||
return ccnet_threaded_rpc.get_emailusers_in_list(user_list)
|
||||
return ccnet_threaded_rpc.get_emailusers_in_list(source, user_list)
|
||||
|
||||
# group management
|
||||
def create_group(self, group_name, user_name, gtype=None, parent_group_id=0):
|
||||
|
Reference in New Issue
Block a user