RiverSync
SPEC-PWF-ROL · v0.1
14 June 2026
Owner: Platform team
Drill-down of the master workflow map (SPEC-PWF), in the Federation group (SPEC-PWF-FED). This process is a view over the spec — its requirements live in the Federation PRD (role model, §5), its entities in the ERD. Lanes, steps and events render from workflow/workflow-catalog.js. Defining a role is distinct from granting it — assignment is owned by Access — and from setting what it can do, owned by Permissions.

1Trigger, outcome & lanes

What starts this process, where it ends, who acts and on which surface. Every tenant owns its role set (FED-7) and shapes it on the standard Roles page — the same surface for a customer, a partner or the riversync tenant.

RiverSync Co., Ltd. · BangkokSPEC-PWF-ROL · 1 of 4

2The flow

Top to bottom in sequence; lanes are the actors. The flow forks once — create a new role from a template, or amend an existing one — and both reach the role joining the tenant's set. The fixed-full Owner / admin role is the one a tenant can never edit or remove (FED-8). Node shape follows the master conventions.

Defining roles — template, reach, permission matrix, into the set.SPEC-PWF-ROL · flow
RiverSync Co., Ltd. · BangkokSPEC-PWF-ROL · 2 of 4

3Steps

Each row is one node on the swimlane: who acts, what happens, and the requirement or rule it traces to.

RiverSync Co., Ltd. · BangkokSPEC-PWF-ROL · 3 of 4

4Related documentation

Every id, service and entity this process touches — each linked to the document that owns it.

5Rules in play

The WF-rules that bind this workflow — the master holds the full set.

6Open questions & ⚠ gaps

Surfaced by this process; not yet resolved in the model.

RefGap
FED-8 ⚠Partner fixed-full role. Customer tenants fix Owner and the riversync tenant fixes admin, but the partner default set ships without a named Owner — whether partners get an explicit Owner or Administrator is their fixed-full role is an open question in the Federation PRD (§11).
DM-2One role per account per app on grant. This flow only defines the role; the single-role-per-app invariant (FED-6 / DM-2) is enforced where it is assigned — Access. A definition change never silently re-grants.

7Revision history

VersionDateChanges
0.114 Jun 2026First draft — role-definition split out of the combined access workflow into its own process in the new Federation group (SPEC-PWF-FED). Composes with Access (assignment) and Permissions (the matrix); traces to the Federation PRD role model (FED-6…8).
RiverSync Co., Ltd. · BangkokSPEC-PWF-ROL · 4 of 4