Worked Examples
Apply team membership — Workspace
Team membership defines who participates in a research project, their responsibilities, and the permissions associated with their role. Workspace distinguishes collaborative review from authenticated access, with separate controls for authorization and revocation.
Application: Sustainable Catalyst Workspace
Component: Collaboration Architecture / Shared Review Rooms / Research Approvals
Article type: Workflow and security operations
Estimated reading time: 18–22 minutes
Source inspected: 20 November 2026 · Workspace Git commit 957738a1e76aa3347027f6af006c08c5d3db5307
Last verified deployed version: Not established
Implementation status: Source inspected; live identity, permissions, revocation, and deployment behavior require independent validation.
1. Goal
Assign appropriately scoped collaboration responsibilities to a research project while keeping authenticated data access, publication approval, and canonical evidence under separate authorities. For each collaborator, establish which identity is verified, which project and objects are in scope, which actions are permitted, what was disclosed, and how access is withdrawn. A successful offboarding event must deny future authorized actions without erasing retained research, review decisions, or provenance records.
Acceptance rule: A named actor or locally assigned role is a governance label, not proof of authenticated access. Demonstrate actual denial at the authoritative enforcement point before claiming that a revoked member has lost access.
2. Requirements
- A specific project ID, accountable owner, collaborator identity/subject when authenticated, intended task, and an approved minimum object scope.
- An explicit distinction between local review coordination, Review Room portability, and signed Research approval permissions.
- Documented authorization by the project owner or designated approver, and rights clearance before showing data to an external reviewer.
- A supported release and its exact UI/API configuration established in the target environment; source-code presence alone is not deployment confirmation.
- A safe, owner-authorized synthetic staging environment for permission/revocation tests; never use real private research artifacts or real user sessions in a published test.
- An evidence log with grant ID, project scope, role, issuance and revocation time, approval references, and sanitized negative-test outcomes.
3. Determine which membership plane you are using
| Plane | What it implements | Authority and limitation |
|---|---|---|
| A. Local Collaboration Architecture | Browser-local actors, owner policies, role grants, comments and proposals | Descriptive local governance; no server account, team tenancy or server ACL. A proposal decision does not mutate the project. |
| B. Shared Review Rooms | Scoped local rooms, invitations, snapshots, review states and portable exports | Local room capability evaluation; invitations are not sent automatically, do not grant remote server access, and do not recall exported copies. |
| C. Authenticated Research Approvals | Persisted owner-scoped editor and dimension-specific approver:* grants, request/decision records and signed attestations |
Enforced by backend authenticated identity for the Research approval workflow, not general project read/write membership. Service identity and browser-session paths have distinct trust boundaries. |
The backend project registry remains owner-scoped. Granting someone a Research approval role does not automatically grant unrestricted access to the owner’s datasets, notebooks, private files, or all Workspace projects.
4. Role selection and least-privilege model
The local Collaboration Architecture accepts owner, editor, contributor, reviewer, and observer. Its capability table is a local coordination vocabulary:
| Local role | Selected local capabilities | Important boundary |
|---|---|---|
| Owner | Review, proposal approval, export, policy management | Does not by itself authenticate the human. |
| Editor | Comment, propose changes, review proposals, export | No automatic canonical project mutation. |
| Contributor | Comment, propose changes, export | No general server write grant. |
| Reviewer | Comment, propose changes, review, export | Not equivalent to an independent scientific approver. |
| Observer | View a copy, comment | Local fallback role; not an authenticated deny state. |
In Research Approvals, choose one specific role: editor to request review on a granted project, or approver:scientific, approver:rights, approver:ownership, approver:publication, or approver:area-publication to decide one approval dimension. Do not use the wildcard project scope * without an authorized reason; use an exact project ID whenever supported.
5. Procedure
- Classify the request. Record whether the collaborator needs to comment on a portable copy, participate in a local review room, request Research publication approval, or decide one approval dimension.
- Verify identity in the correct plane. Local display labels are not credentials. For backend roles, use the authenticated Workspace/Identity subject and the server-side authorization path; never trust a browser-submitted role field.
- Define the scope. Pin the canonical project ID, selected object IDs, revision/content hash where relevant, permitted actions, rights, confidentiality restrictions, and expiration/review date.
- Select the minimum role. For example, a scientific reviewer needs
approver:scientificrather than a publication-approval role, unless independently justified. - Record the grant or invitation. In local Collaboration Architecture, record an actor and project policy. In a Review Room, issue an invitation as a local record. For Research Approvals, only the authorized project owner creates a backend grant through the supported backend/UI path.
- Confirm the effective boundary. Verify the authorized capability and deny a more privileged capability. Do not equate a successful UI badge with access to server-held project data.
- Run a revision-bound review. Link comments and decisions to an exact project, object and review version. Keep original source data immutable; make proposed changes separately reviewable.
- Record evidence. Save the grant ID, role and scope, reviewer/owner, decision and review artifacts, fingerprint, timestamps, and the test result in a private audit location.
- Periodically recertify. Remove unnecessary grants, check unaccepted invitations, and reconcile editor/approver privileges with active projects and the current publication workflow.
6. Browser-local collaboration policy — reproducible source example
Inside an authorized Workspace repository checkout, the following Node.js example exercises the actual local collaboration helper with synthetic actors. It creates a descriptive policy only; it does not create a backend user or grant authenticated access.
const assert = require('node:assert/strict');
const A = require('./wordpress/sustainable-catalyst-workspace/assets/js/sc-workspace-collaboration-architecture-v1.js');
let i = 0;
const makeId = p => `${p}-${++i}`;
const now = () => '2026-11-20T12:00:00Z';
const owner = A.createActor({displayName:'Synthetic Owner',role:'owner'},makeId,now);
const reviewer = A.createActor({displayName:'Synthetic Reviewer',role:'reviewer'},makeId,now);
let policy = A.createPolicy('synthetic-project', owner.id, makeId, now);
policy = A.setGrant(policy, reviewer.id, 'reviewer', owner.id, now);
assert.equal(A.effectiveRole(policy,reviewer.id),'reviewer');
assert.equal(A.can(policy,reviewer.id,'comment'),true);
assert.equal(A.can(policy,reviewer.id,'manage-policy'),false);
policy = A.removeGrant(policy,reviewer.id,now);
assert.equal(A.effectiveRole(policy,reviewer.id),'observer');
// This is deliberate: local role fallback is NOT server access revocation.
assert.equal(A.can(policy,reviewer.id,'view-copy'),true);
console.log('LOCAL ROLE-SEMANTICS PASS; SERVER REVOCATION NOT TESTED');
Interpretation: The helper’s effectiveRole() falls back to observer after a grant is removed, and observer still has local view-copy capability. That is why removeGrant() must never be represented as a definitive access-revocation operation. For private information, use server authorization, new export restrictions, and a validated offboarding workflow.
7. Shared Review Rooms and invitations
A Review Room is a browser-local review environment linked to one project. Roles in the room are owner, editor, reviewer, and observer. An invitation can be draft, issued, accepted, declined, or revoked. These are local governance states, not e-mail-delivery status or server ACL changes.
- Select the smallest authorized list of project object IDs.
- Create a local room, name the reviewer actor and role, and record the owner.
- Freeze the selected snapshot only after checking that it contains no material outside the permitted review scope.
- Do not export the frozen snapshot until the disclosure has been approved; Review Room exports may contain object bodies.
- On revocation, mark the local invitation revoked, stop issuing packages, and separately assess prior exports and any real account or publication grants.
Security caveat: In the inspected Review Room runtime, an unknown or revoked actor falls back to the local observer role; that role includes view-room and export-room. These helpers are not access-control enforcement for private remote data. A revoked invitation cannot revoke an already downloaded package.
8. Authenticated Research approval grants
The separate SC-ED-01 implementation supports persisted owner-authorized Research approval grants. Its actual backend route prefix is /v1/research-approvals. The following contracts are for authorized integration and disposable staging tests, not commands to run against production.
| Method and path | Function | Authorization note |
|---|---|---|
GET /v1/research-approvals/profile |
Inspect dimensions and supported roles | Source-declared public profile; deployment still unverified. |
POST /v1/research-approvals/grants |
Create project/role/grantee grant | Server-authenticated owner; refuses self-grants. |
GET /v1/research-approvals/grants |
List grants involving caller | Identity-scoped list. |
POST /v1/research-approvals/grants/{grant_id}/revoke |
Set revocation timestamp | Only the owning grantor can revoke. |
POST /v1/research-approvals/grants/{grant_id}/attestation |
Issue short-lived signed editor-role proof | Must be active editor grant and grantee identity. |
POST /v1/research-approvals/requests |
Request one review dimension | Owner or granted editor, exact project and subject. |
POST /v1/research-approvals/requests/{approval_id}/decide |
Make one signed decision | Separate decider/dimension grant; additional step-up and exact-revision checks when configured. |
Synthetic grant body:
{
"granteeUserKey": "synthetic-reviewer-subject",
"role": "approver:scientific",
"projectId": "synthetic-project"
}
The granteeUserKey must be resolved by an authorized identity workflow; a display name, e-mail address, or collaboration actor ID is not a valid substitute. The backend uses require_service_identity; credentials and human-subject assertions belong in the trusted proxy/operator boundary, never in public JavaScript or support tickets.
Scope note: A Research approval grant can permit a review action but does not automatically make the grantee an owner of, or general reader/writer to, the originating Workspace project. Existing editor attestations are issued with a source-declared 3,600-second time to live. Revoking the backing grant blocks issuance of new attestations but does not by itself prove that a previously minted signed attestation is immediately invalidated at every downstream verifier. Test actual expiry and any consumer-side revocation enforcement before asserting immediate offboarding.
9. Review independence and publication boundaries
For Research publication, scientific, rights, ownership, and publication dimensions are evaluated separately. In the normal approval path, the decider must not be the requester and must hold an active grant for the specified dimension; the owner can confirm ownership under the applicable rule. If optional owner self-authorization is enabled, it requires additional step-up and written disclosure, and the record is explicitly not independent review.
Keep the research object and its content hash fixed through request, review and decision. A review proposal accepted in local collaboration does not edit the canonical object; a signed approval decision is not a scientific proof of correctness. No change of membership alone publishes an output.
10. Symptoms
| Symptom | Likely cause | Safe first action |
|---|---|---|
| Reviewer is shown in a local policy but cannot open a private project | Local actor not mapped to authenticated account; no server grant | Check actual identity and authorization path; do not bypass owner-scoped storage. |
| Review Room invitation says issued but reviewer receives no e-mail | Local invitation does not send invitations | Use approved out-of-band communication or separate Identity invitation workflow. |
| Removed local collaborator still sees an exported copy | Copy was already disclosed; local grants are not ACLs | Stop new exports, inventory disclosures, and assess containment; do not claim recalled copies. |
| Backend approval is 403 | No active grant, wrong dimension, disallowed self-approval, or missing step-up | Inspect sanitized error code, active grant, request actor, exact revision and policy. |
| Backend returns 404 for another person’s project/approval | Owner isolation or absent record | Check owner-scoped identity; never enumerate private IDs. |
| Duplicate approval request returns 409 | A request is already pending for that subject/dimension | Look up the existing request rather than creating another. |
| Approver’s rights revoked but prior signed decision still exists | Historical evidence is retained | Verify new decisions are denied; do not erase historical approval evidence. |
| Fingerprint matches but actor is not independently identifiable | Local integrity signal does not prove human identity | Corroborate with authenticated approval or reviewer identity evidence. |
11. Cause
The common root cause is mixing three separate constructs: local collaboration role, review-room invitation, and authenticated authorization grant. They have different storage, identity, trust, revocation and evidence requirements. Browser-local policy state is not a database ACL; an authenticated review approval grant is not a general project membership invitation; and neither causes automatic scientific review or publication.
Secondary causes include wrong project ID, an inappropriate wildcard scope, stale review snapshot, missing owner approval, insufficient rights to disclose content, a wrong approval dimension, disabled identity/approval service, an unverified deployment, or an exported copy outside the system’s revocation boundary.
12. Troubleshooting
- Capture the failure’s HTTP status and sanitized correlation ID, but never tokens, cookies, full private objects, or reviewer contact details.
- Identify the requesting person and the effective server subject separately from local
actorIdor display label. - Check the grant’s
projectId,role,grantee,revokedAt, and whether the grant is in the right authority plane. - For a failed approval, check the request dimension,
subjectRef(including SHA-256), requester/decider separation, and any step-up or independent-review requirement. - For a local Review Room, confirm that a selected snapshot is not stale and that its package has not already been shared with a revoked participant.
- For missing research access, reproduce the same owner-scoped request in disposable staging. Do not modify the browser policy to bypass server authorization.
13. Resolution
To grant: record the minimum task-specific scope, create the correct local coordination record or authenticated Research approval grant, then test both an allowed action and a disallowed action.
To revoke: revoke the actual backend grant (where one exists), record revocation time, and confirm a new request/attestation/decision is denied. Revoke local room invitations and collaboration grants separately, restrict further exports, and evaluate earlier distributed copies. If an account itself is compromised, authorized operators should use the separate session/identity revocation mechanism. Do not use account-wide revocation to remove just one project-specific approval role.
Evidence preservation: preserve canonical research files and existing signed approval records, time-stamped grant history, reviewer decisions, rights evidence and immutable snapshots under their normal retention rules. Revocation should prevent new unauthorized action, not rewrite the scientific record.
14. Verification
Perform these tests in an isolated synthetic environment and retain a report with source commit, deployed image digest, principal, project ID, before/after grant references, expected/observed statuses and redacted logs.
| Test | Expected observation | Evidence level |
|---|---|---|
| Local reviewer grant | Reviewer can comment; cannot manage a local policy | Local helper only. |
| Local role removal | Explicit grant disappears; fallback observer behavior is documented, not used as access denial | Local helper only. |
| Review Room invitation revocation | Invitation state becomes revoked and a room event is retained; no claim to revoke exported copies | Local helper only. |
| Backend role grant | Authorized owner can grant an exact project/dimension; nonowner cannot grant | API test with real authentication dependency. |
| Backend role revocation | Future disallowed approval decisions receive 403; previously signed decisions remain intact | API/database integration. |
| Wrong approval dimension | Scientific approver cannot act as rights/publication approver | API/database integration. |
| Foreign owner/project | Project/approval details are not disclosed; known foreign resources return 404 | API/database integration. |
| Revision mismatch and duplicate request | Stale subject refuses approval; duplicate pending approval returns 409 | API/database integration. |
| Deployed offboarding | Old session/attestation cannot gain unauthorized future action after revocation, according to configured expiry/enforcement | Authorized staging with signed-in synthetic users. |
Do not claim: that local policy removal immediately revokes a server session, that an offline test proves live tenant isolation, or that the presence of a signature means the underlying scientific claim is correct.
15. Repository regression commands
Execute from the matching Workspace checkout on a disposable machine/environment. The first tests exercise local role and review semantics. The Research approval test file runs unit tests without PostgreSQL; integration tests require an isolated, disposable PostgreSQL database and approved test service identity.
# JavaScript local governance tests
node tests/test_collaboration_architecture_foundation_runtime.js
node tests/test_collaboration_shared_review_hardening_runtime.js
# Python unit tests (PostgreSQL cases may be skipped without a disposable DB)
python -m pytest -q backend/tests/test_research_approvals_sc_ed01.py
# OPTIONAL, only on an isolated PostgreSQL instance with synthetic identities:
# Set SC_WORKSPACE_DATABASE_URL through the test environment's secret manager.
# Then run the same approval suite and inspect skipped tests and access denials.
These commands are instructions, not assertions that the repository CI or live integration suite was executed in this editorial upgrade. Verify the specific test counts and deployment settings before assigning a product-version or last-verified-version field.
16. Failure states and escalation
- Security-critical: A revoked authenticated grant still permits a new privileged approval; nonowner can create grants; an external user receives private project data; approval roles cross projects/dimensions. Contain access, retain evidence, and escalate immediately.
- Operational: Identity/approval backend unavailable; step-up challenge fails; project ID not resolved; pending duplicate approval. Avoid blind retry and inspect service state.
- Governance: Unverified reviewer, unclear data rights, externally shared snapshot, or stale source version. Stop disclosure/publication and request human adjudication.
An incident packet should contain only case ID, source commit, nonsecret trace ID, anonymized principal roles, object-type/hashed references, expected versus observed status, independent test receipt, and who authorized remediation.
17. Acceptance criteria and release evidence
- Documented identity, role, project scope, grantor, grant time, expiry/review date, and rights authorization.
- Evidence that the system of record, not a browser label, enforces authenticated privilege separation.
- Successful positive action and failed negative action for a synthetic grantee.
- After revocation, a fresh privileged operation is refused, while historical receipts remain inspectable.
- Inventory of existing exports and acceptance of the non-recallable-copy limitation.
- Independent review of security findings, actual deployment commit/digest, authorized staging results, and rollback controls.
Publication criterion: A WordPress support article may be editorially published as source-anchored guidance while the implementation remains unverified. Editorial status must never be presented as a validated production access-control guarantee.
18. Related workflows
Use the companion knowledge-base workflows for project creation/ownership, research workspace artifact relationships, project audit history, publication approvals, and backup/migration safety. Those workflows help identify the canonical project, verify provenance, and preserve review decisions; they do not confer membership themselves.
19. Technical references
- Collaboration Architecture Foundation — local actors, grants and boundaries
- Shared Review Rooms — invitations, snapshots, portability
- Review-package revision and reconciliation rules
- Collaboration Architecture implementation
- Shared Review Rooms implementation
- Research approval grant and revocation API
- Research approval authorization tests
- Host-only session and identity revocation operator
- Canonical owner-scoped project registry
- Backend identity and policy authority boundary
- Local policy JSON schema
- Review Room invitation JSON schema
