Open RomaricMourgues opened 2 years ago
Create one entity and update the Workspace entity:
WorkspaceInviteDomain {
domain: string;
company_id: string;
workspace_id: string;
}
Workspace {
id: string;
company_id: string;
name: string;
+ preferences: null | {
"invite_domain": null | string
}
}
moderator
or company admin
/ owner
should be able to see this.Let anyone with ${workspace.preferences.invite_domain || currentuser.email} email join this workspace
Hello!
A new one:
US: https://www.notion.so/linagora/Invitation-process-a7e8333bf0ab4aeb9f88158d38197832
Context
This popup is triggered when inviting users to the workspace from the workspace parameters screen (or the "invite users" shortcut).
It will also be available as a shortcut when typing an unknown email in the channel invitation modal.
New UI and atoms
A lot of atoms for the new UI already exists in the storybook: https://staging-web.twake.app/storybook/index.html
For this modal will be needed:
Missing (todo)
What to do then
Note: As far as I can see the backend APIs already exists, maybe it would be preferable to create a single endpoint to avoid calling several time multiple apis.
Do not forget to: