mirror of
				https://github.com/zulip/zulip.git
				synced 2025-10-31 12:03:46 +00:00 
			
		
		
		
	user_groups: Add "Nobody" system user group.
This commit adds code to create a "Nobody" system user group to realms which will be used in settings to represent "Nobody" option. We also add a migration to add this group to existing realms.
This commit is contained in:
		| @@ -2224,6 +2224,7 @@ class UserGroup(models.Model):  # type: ignore[django-manager-missing] # django- | ||||
|     MODERATORS_GROUP_NAME = "@role:moderators" | ||||
|     MEMBERS_GROUP_NAME = "@role:members" | ||||
|     EVERYONE_GROUP_NAME = "@role:everyone" | ||||
|     NOBODY_GROUP_NAME = "@role:nobody" | ||||
|  | ||||
|     # We do not have "Full members" and "Everyone on the internet" | ||||
|     # group here since there isn't a separate role value for full | ||||
|   | ||||
		Reference in New Issue
	
	Block a user