PAZATOR DOCS
COLLAB
FEATURE — v0.May2626

COLLAB
Access & Audit.

What it is

Collaboration & Permissions brings multi-user awareness to Pazator. It provides role-based access control (RBAC) with four roles, an audit trail of all user actions, entity-level commenting, and shared workspaces for organizing data.

Roles & Permissions

Four built-in roles control what a user can do. Everyone starts as the default admin user. Switch between users from the Collaboration tab to test different permission levels.

adminFull access — view, search, create, edit, delete, export, comment, manage users
editorRead/write — view, search, create, edit, delete, export, comment
analystRead + light write — view, search, export, comment
viewerRead-only — view, search

Audit Trail

Every meaningful action is logged: user switches, data changes, comments, workspace operations. The audit log stores up to 5,000 recent entries and can be viewed or cleared from the Collaboration tab. Each entry records the timestamp, user, action, and details payload.

Example audit entry:
2026-05-27 14:32:01  admin  user_created  {"name": "Jane", "role": "analyst"}
2026-05-27 14:33:15  Jane   comment_added {"entityType": "human", "entityId": "abc123"}

Comments

Comments can be attached to any entity (humans, companies, cases) from their detail view. Each comment stores the author, timestamp, and text. All comments are visible to every user and appear in a chronological feed on the Collaboration tab.

Workspaces

Workspaces are named groups that collect entities together. A workspace tracks which humans, companies, and cases belong to it. Currently local-only — workspaces persist to localStorage and can be created, renamed, or deleted from the Collaboration tab. Future versions will support server-side shared workspaces.

Usage

Open the Collaboration tab from the top menu bar. The main panel shows a user switcher, action buttons (Manage Users, Audit Log), and three sub-panels: Workspaces, Comments, and Role Permissions. Switch the active user to immediately see how the app behaves under a different role.


Source

app/pazator_collab.js — IIFE module, loaded after the core app scripts. Exposes window.pazatorCollab.