Skip to Content
SahajFlowHelp Center
Users & Permissions

Roles and permissions

What Is It?

The rules that decide what a member can attempt inside a workspace.

Why Would I Use It?

To give a salesperson the CRM without the ability to issue invoices, or a viewer read-only access to everything.

Who can manage it? OWNER and ADMIN, from Control → Roles & Permissions.

The six role codes

RoleTypical useWhat it can doWhat it cannot do
OWNERBusiness ownerEverything, including organization settings, ownership transfer, sessions, integrations, AI settings, and every sensitive actionNothing inside the workspace is restricted by role (data visibility still applies)
ADMINOperations leadNearly everything an owner can do: full CRM/Q2C/ERP/Reach/Projects/Resources/Documents, users, roles, settings, integrationsTransfer or archive the organization; platform administration
MANAGERSales or delivery leadFull CRM CRUD + lead import/export; create and progress quotes/orders/invoices (send, accept, reject, confirm, issue, record payment); full project lifecycle; procurement approval and receiving; campaign scheduling; audit viewConvert quotes/orders, cancel invoices/orders, delete finance records, manage users, settings, roles, integrations, AI settings
EMPLOYEEDay-to-day userCreate and update CRM records, quotes, orders, invoices; log time; create budget/expense entries and submit them; upload documentsDelete/archive, lifecycle transitions (accept, issue, record payment), administration
VIEWERAuditor or observerRead across business modules, documents, reports, searchAny write
USER (legacy)SupersededView/create/update in CRM and Q2C; view paymentsDeletes, lifecycle, administration. Retained for compatibility; reassign to a current role.

Role capability is a bundle of explicit permission codes. There are no wildcards.

How the checks stack

Plan → Organization status → Membership ACTIVE → Role grant → Department module access
                                                              ↓
                                                    Data visibility scope
                                                              ↓
                                                    Business rule (lifecycle)

A grant is permission to attempt. It does not make an invalid action valid: an ADMIN still cannot edit an accepted quote.

Sensitive actions (never covered by a generic "update")

ActionPermission code
Convert a leadcrm.lead.convert
Move an opportunity's stagecrm.opportunity.move_stage
Send / accept / reject a quoteq2c.quote.send, .accept, .reject
Convert a quote to an orderq2c.quote.convert
Confirm / cancel a sales orderq2c.sales_order.confirm, .cancel
Convert an order to an invoiceq2c.sales_order.convert
Issue / cancel an invoiceq2c.invoice.issue, .cancel
Record / reverse a paymentq2c.payment.record, .reverse
Approve / receive a purchase orderprocurement.purchase_order.approve, .receive
Reverse a goods receiptprocurement.goods_receipt.reverse
Complete / cancel a projectprojects.project.complete, .cancel
Approve a campaignreach.campaign.approve
Approve an expense or budgetfinancials.expense.approve, financials.budget.approve
Rebuild the search indexsearch.rebuild
Manage settings, sessions, rolesadmin.settings.manage, admin.sessions.manage
Transfer ownershiporganization owner permission (OWNER only)

Permission naming

<module>.<resource>.<action>      crm.lead.create
                                  q2c.invoice.issue
                                  procurement.supplier_bill.issue
                                  documents.file.manage
                                  automation.workflow.execute

Module prefixes in use: crm, q2c, projects, financials, procurement, reach, inventory, hr, assets, documents, notifications, automation, integration, search, ai, admin, reports, resources.

Custom roles

OWNER/ADMIN can create custom roles with a chosen set of grants. Custom roles belong to the organization that created them and are invisible to other tenants. System roles can be customized per tenant, but the system role row itself cannot be edited globally.

Important things to know

  • Frontend visibility is a convenience. Every API request re-checks the grant; a hidden button is not the security boundary.
  • Changing a role takes effect on the member's next request, not when they reload.
  • Removing a member ends access immediately on the next request, but their historical activities and audit entries remain.
  • A role never crosses a workspace: the same person can be OWNER in one and VIEWER in another.
  • Data visibility is separate from role. Role says what; visibility says how far. Defaults are organization-wide except for OWNER, which is unrestricted.
  • Department module access can hide an entire module even when the role allows it.

Common problems

SymptomLikely causeWhat to do
Button visible but action returns 403Frontend grant mapping is broader than the backend check, or the record belongs to another tenantConfirm the exact permission code with the API error
Whole module missing from the sidebarPlan does not include it, or the department has it switched offCheck both before changing the role
Cannot edit a record you createdLifecycle state, not permissionSee the module guide
Custom role not visible to a colleagueCustom roles are organization-scopedConfirm you are both in the same workspace

On this page