mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 13:03:29 +00:00
invites: Allow user to be invited as a moderator.
This commit adds both frontend and backend code to invite a user as moderator. We allow only existing owners and admins to invite a user as a moderator.
This commit is contained in:
@@ -1713,6 +1713,7 @@ class PreregistrationUser(models.Model):
|
||||
INVITE_AS = dict(
|
||||
REALM_OWNER=100,
|
||||
REALM_ADMIN=200,
|
||||
MODERATOR=300,
|
||||
MEMBER=400,
|
||||
GUEST_USER=600,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user