Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
models: Add realm moderator role.
sahil839af64ca388ad8
diff --git a/zerver/models.py b/zerver/models.pyindex f86262a4a00..c1cbf8ced87 100644--- a/zerver/models.py+++ b/zerver/models.py@@ -1056,7 +1056,7 @@ class UserProfile(AbstractBaseUser, PermissionsMixin):# changes to them will require a migration of RealmAuditLog.ROLE_REALM_OWNER = 100ROLE_REALM_ADMINISTRATOR = 200- # ROLE_MODERATOR = 300+ ROLE_MODERATOR = 300ROLE_MEMBER = 400ROLE_GUEST = 600role: int = models.PositiveSmallIntegerField(default=ROLE_MEMBER, db_index=True)