mirror of
https://github.com/zulip/zulip.git
synced 2025-11-15 11:22:04 +00:00
models: Add can_access_all_users_group setting.
This commit adds new setting for controlling who can access all users in the realm which would have "Everyone" and "Members only" option. Fixes part of #10970.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import datetime
|
||||
from dataclasses import dataclass
|
||||
from dataclasses import dataclass, field
|
||||
from typing import Any, Callable, Dict, List, Optional, Tuple, TypedDict, TypeVar, Union
|
||||
|
||||
from django_stubs_ext import StrPromise
|
||||
@@ -291,6 +291,7 @@ class GroupPermissionSetting:
|
||||
default_group_name: str
|
||||
id_field_name: str
|
||||
default_for_system_groups: Optional[str] = None
|
||||
allowed_system_groups: List[str] = field(default_factory=list)
|
||||
|
||||
|
||||
@dataclass
|
||||
|
||||
Reference in New Issue
Block a user