Add default parameter for update_role_emailuser (#742)
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
This commit is contained in:
parent
1502be4a42
commit
9efe0b58fd
1 changed files with 1 additions and 1 deletions
|
@ -996,7 +996,7 @@ class CcnetAPI(object):
|
||||||
"""
|
"""
|
||||||
return ccnet_threaded_rpc.update_emailuser(source, user_id, password, is_staff, is_active)
|
return ccnet_threaded_rpc.update_emailuser(source, user_id, password, is_staff, is_active)
|
||||||
|
|
||||||
def update_role_emailuser(self, email, role):
|
def update_role_emailuser(self, email, role, is_manual_set=True):
|
||||||
return ccnet_threaded_rpc.update_role_emailuser(email, role)
|
return ccnet_threaded_rpc.update_role_emailuser(email, role)
|
||||||
|
|
||||||
def get_superusers(self):
|
def get_superusers(self):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue