-
Notifications
You must be signed in to change notification settings - Fork 350
Closed
Labels
a-apiImplementing specific parts of the Zulip server APIImplementing specific parts of the Zulip server APIa-modelImplementing our data model (PerAccountStore, etc.)Implementing our data model (PerAccountStore, etc.)
Milestone
Description
We should store the list of user groups in the realm, with their metadata and their memberships, and keep the data up to date.
(Memberships will be a separate issue: #1687.)
This data originates as realm_user_groups in the initial snapshot at https://zulip.com/api/register-queue#response , and is updated by events.
As a preparatory refactor, we'll move PerAccountStore.users (which is a Map<int, User>, indexed by user ID) to live on a new type UserStore. This will closely follow the example of streams and StreamStore.
Then the user groups will be added as an additional data structure on UserStore.
This is a prerequisite for features involving user groups, in particular:
Metadata
Metadata
Assignees
Labels
a-apiImplementing specific parts of the Zulip server APIImplementing specific parts of the Zulip server APIa-modelImplementing our data model (PerAccountStore, etc.)Implementing our data model (PerAccountStore, etc.)
Type
Projects
Status
Done