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~

  • ~ap.sys.Workspace.ApplyInvitation~

  • ~it~

c.sys.Workspace.InitiateInvitationByEMail()

  • AuthZ: role.sys.WorkspaceAdmin

  • Params

    • Email

    • Roles

    • ExpireDatetime

    • EmailTemplate // Must be prefixed with 'text:' or 'resource:'

      • Placeholders:

        • ${VerificationCode}

        • ${InviteID}

        • ${WSID} - Inviting Workspace ID

        • ${WSName} - Inviting Workspace Name

        • ${Email} - Invitee Email

    • EmailSubject

  • Errors

    • ~err.State~✅: State not in (None, Cancelled, Left, ToBeInvited)

    • invalid argument EmailTemplate

  • //TODO: EMail => Login must be implemented, currently it is supposed that EMail == Login

Behavior:

Last updated

Was this helpful?