Portal Community

Share Modal (UI)

Open the Share modal from the workflow toolbar (share icon). The modal lets you:

Grant Access API

POST /api/processes/{processId}/access
Authorization: Bearer {ownerToken}
Content-Type: application/json

{
  "actorId"   : "user-abc123",
  "actorType" : "User",          // "User" or "Group"
  "role"      : "Editor"         // "Owner" | "Editor" | "Viewer" | "Executor"
}

Response (201 Created):

{
  "id"        : "policy-guid",
  "processId" : "{processId}",
  "actorId"   : "user-abc123",
  "actorType" : "User",
  "role"      : "Editor",
  "grantedBy" : "user-owner456",
  "grantedAt" : "2026-05-25T10:00:00Z"
}

Grant to a Group

POST /api/processes/{processId}/access

{
  "actorId"   : "group-hr-team",
  "actorType" : "Group",
  "role"      : "Viewer"
}

List Current Access

GET /api/processes/{processId}/access

Response:
[
  { "actorId": "user-abc", "actorType": "User", "role": "Owner",    "grantedAt": "..." },
  { "actorId": "user-xyz", "actorType": "User", "role": "Editor",   "grantedAt": "..." },
  { "actorId": "group-hr", "actorType": "Group","role": "Viewer",   "grantedAt": "..." }
]
Owner-only operation: Only actors with the Owner role can call the grant/revoke API or use the Share modal. Editor and below receive 403 Forbidden on these endpoints.