1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-09-01 15:36:37 +00:00

Add update emailuser id RPC (#349)

* Add update emailuser id RPC

* Add test shareing and group relationship when update user id
This commit is contained in:
feiniks
2020-05-15 14:21:27 +08:00
committed by GitHub
parent 33536cc56c
commit 72de8b5997
10 changed files with 178 additions and 2 deletions

View File

@@ -983,6 +983,9 @@ class CcnetAPI(object):
"""
return ccnet_threaded_rpc.get_emailusers_in_list(source, user_list)
def update_emailuser_id (self, old_email, new_email):
return ccnet_threaded_rpc.update_emailuser_id (old_email, new_email)
# group management
def create_group(self, group_name, user_name, gtype=None, parent_group_id=0):
"""