Skip to main content

Invite device to workspace

Motivation

As a Workspace Owner I want to invite a registered device to a workspace with specified roles, so that if it accepts the invitation, it can access the workspace with those roles.

Components

  • ~q.sys.Workspace.IssueInviteToken~uncvrd1
  • ~c.sys.Workspace.AcceptInviteToken~uncvrd2
  • ~ap.sys.Workspace.ApplyAcceptInviteToken~uncvrd3
  • ~c.sys.Workspace.CreateSubject~uncvrd4

q.sys.IssueInviteToken

  • AuthNZ: role.sys.WorkspaceAdmin
  • Params:
    • AllowedSubjectKind int (0-any)
    • Roles string
    • ExpireDatetime timestamp

Behavior

c.sys.AcceptInviteToken

  • AuthNZ: role.sys.AuthenticatedUser + InviteToken
  • Params:
    • InviteToken string

Footnotes

  1. [~server.devices/q.sys.Workspace.IssueInviteToken~impl]

  2. [~server.devices/c.sys.Workspace.AcceptInviteToken~impl]

  3. [~server.devices/ap.sys.Workspace.ApplyAcceptInviteToken~impl]

  4. [~server.devices/c.sys.Workspace.CreateSubject~impl]