Roles, Permissions & Audit Trail Governance
Server-enforced boundaries between Standard Users (USER), Company Managers (STAFF), Portal Customers, and Platform Admins alongside privacy-redacted audit logs.
Workspace Role Architecture
Every action in Comma is authorized server-side by role and company boundary:
| Role | Scope | Core Capabilities |
|---|---|---|
User (USER) |
Assigned company finance & HR workspace | Dashboard, Receivables, Payables, Payments, Aging Report, Loans, Employees, PDKS, Advances/Garnishments, Payroll, PDF/XLSX exports, personal 2FA, personal notification preferences |
Manager (STAFF) |
Full USER scope + company governance |
Edit Settings → Company details and logos, issue/rotate/remove Customer Portal PINs, send manual customer email reminders, inspect email delivery logs, manage company-wide Telegram & Email notifications |
Portal Customer (PORTAL_CUSTOMER) |
Own account only (/portal) |
Sign in via VKN/TCKN + PIN, filter balances by date range, view read-only Ledger/Debts/Payments tabs, download own PDF/XLSX statements |
Platform Admin (ADMIN) |
System administration console | Provision companies and users, configure annual statutory payroll constants (payroll_params), toggle maintenance mode, send system broadcasts, inspect read-only Audit Trail |
For defense-in-depth, the Platform Admin (
ADMIN) account is isolated from operational company finance and payroll routes; financial entries belong solely to company workspace accounts.
Key Differences Between USER and STAFF (Manager)
Standard users and managers share the same speed for day-to-day invoicing, payments, loans, attendance, and payroll. Four administrative actions require Manager (STAFF) privileges:
- Modifying company legal identity, tax numbers, work hours, or logos
- Managing customer
/p/:companyIdPortal PIN credentials - Sending manual customer payment-reminder emails and reviewing delivery logs
- Configuring company-level Telegram and Email alert rules
Session Security & Privacy Protection
- Two-Factor Authentication (2FA): Any workspace user can enable TOTP 2FA and generate single-use recovery codes under Settings → Account.
- Privacy Mode Controls: Beyond toggling
Alt+P, users can default Privacy Mode on at load, blur automatically when switching browser tabs, and configure an inactivity auto-lock timer. - Session & Abuse Controls: Authentication relies on
HttpOnlyserver-managed session cookies inaccessible to client scripts, paired with endpoint rate limiting.
Audit Trail (Denetim Kayıtları)
Critical workspace and administrative changes are recorded in an append-oriented, read-only Audit Trail:
- Tracked Actions:
CREATE,UPDATE,DELETE,RESTORE,LOGIN_SUCCESS,LOGIN_FAILED, andEXPORT. - Covered Operations: Companies, users, customer and supplier accounts, invoices, payments and allocations, Portal PIN updates, company loans and installments, employees, PDKS logs, advances, garnishments, payrolls, file exports, system settings, and notification preferences.
- Recorded Metadata: Timestamp, action badge, entity type and ID, actor ID, company ID, and source IP address.
- Privacy-Preserving Details View: When inspecting an event diff, numeric financial values, dates, payment methods, roles, and statuses are visible for verification, while personal fields, secrets, free text, and nested values are masked (
Hidden for privacy).
Try these workflows in the live demo
Explore invoices, 5-bucket aging, loans, and Turkish Bordro calculations with pre-filled demo credentials.