Faith Forge LabsCustom softwareStart with a project brief ↗

Define roles around decisions, not department names alone

A department label rarely describes everything a person should be allowed to do. Two people in purchasing may need different authority: one prepares an order, another approves an exception, and a temporary colleague covers a queue for a week.

Start by listing the actions that change a meaningful outcome. Reading a request, editing its amount, approving it, exporting it and changing who can approve are separate capabilities. They may apply to different sets of records.

Build the permission model from examples

In a fictional maintenance-request application, an employee can create and view their own requests. A site coordinator can triage requests for assigned locations. A manager can approve certain costs. An administrator can maintain access without automatically becoming the business approver for every request.

Write one example for each boundary. Can a coordinator open a request from another site by using a direct link? Can a manager approve their own request? Can someone export a queue containing records they cannot open individually? Resolve these questions before treating a role selector as a finished feature.

The record relationship matters as much as the role name. “Manager” may mean manager of this team, at this location, during this period. A broad label that loses those conditions can grant more access than the workflow requires.

Include temporary responsibilities

Holiday cover and staff changes reveal whether the model is practical. A delegation needs a start, an end, a defined scope and an authorized owner. It should not require sharing credentials or permanently elevating a colleague because a narrow exception is difficult to configure.

Decide what happens to work already assigned when a person leaves or changes teams. Removing access does not automatically give their pending approvals to someone else. Ownership transfer is a separate operational task that should remain visible.

Enforce the rule wherever the record travels

Navigation, search results, attachments, exports and background actions can all expose information or change records. The application needs consistent authorization checks on the relevant server operations. OWASP's authorization guidance emphasizes checking access on every request; hiding a control is not the underlying protection.

Test allowed and denied actions using different accounts. Include a user whose role has just changed and a record moved between teams. Confirm that a cached view or old link does not become the only basis for a decision.

Give administrators a usable review path

An access list should help its owner understand why access exists, not merely show a collection of checked boxes. Record the responsible sponsor and any expiry or review arrangement appropriate to the organization. Make changes inspectable without collecting unnecessary personal detail.

For identity-provider connections and departures, continue with account lifecycle planning. That guide separates sign-in, application authority, active sessions and unfinished work.