mirror of https://github.com/zulip/zulip.git
import: Import mattermost admins as Zulip owners.
Otherwise, we violate the invariant that all organizations have an owner.
This commit is contained in:
parent
d513bb4aa6
commit
ed498e2f8e
|
@ -80,7 +80,7 @@ def process_user(user_dict: Dict[str, Any], realm_id: int, team_name: str,
|
|||
|
||||
role = UserProfile.ROLE_MEMBER
|
||||
if is_team_admin(user_dict):
|
||||
role = UserProfile.ROLE_REALM_ADMINISTRATOR
|
||||
role = UserProfile.ROLE_REALM_OWNER
|
||||
|
||||
if user_dict["is_mirror_dummy"]:
|
||||
is_active = False
|
||||
|
|
Loading…
Reference in New Issue