Invite to Workspace
- As a Workspace Owner I want to invite users into workspace with specified roles, so that if they accept it, they are granted to access my workspace
Components
~c.sys.Workspace.InitiateInvitationByEMail~covrd1✅~ap.sys.Workspace.ApplyInvitation~covrd2✅~it~covrd3✅
c.sys.Workspace.InitiateInvitationByEMail()
- AuthZ: role.sys.WorkspaceAdmin
- Params
- Roles
- ExpireDatetime
- EmailTemplate // Must be prefixed with 'text:' or 'resource:'
- Placeholders:
- ${VerificationCode}
- ${InviteID}
- ${WSID} - Inviting Workspace ID
- ${WSName} - Inviting Workspace Name
- ${Email} - Invitee Email
- Placeholders:
- EmailSubject
- Errors
~err.State~covrd4✅: State not in (None, Cancelled, Left, ToBeInvited)- invalid argument EmailTemplate
- //TODO: EMail => Login must be implemented, currently it is supposed that EMail == Login
Behavior: