Roles and permissions decide who can see, edit, approve or delete the data in a business app. They're the least visible part of a piece of software and the one that causes the most trouble when done badly. In this guide you'll see how to think about roles, the most common mistakes, how to handle external users and a table to start from.
Why roles and permissions matter more than the design
A business app almost always contains data that isn't for everyone. Salaries, purchase prices, customer data, staff evaluations. As long as only one person uses the app, the problem doesn't show. As soon as many people use it, it becomes the most important question.
The damage from a wrong permission is rarely spectacular. It's the staff member who sees colleagues' margins, the supplier who reads another supplier's orders, the shared link that still works months later. Small mistakes, discovered late, that nobody had decided.
Users, roles and permissions: the basics
Three words, to keep distinct:
- User: a person with their own personal access. Never accounts shared by several people, because then you don't know who did what.
- Role: a group of people who do the same job in the app. For example "requester", "approver", "accounting", "read only".
- Permission: an action on a type of data. Viewing requests, editing an order, approving an expense, exporting a list.
Permissions are given to roles, not to people. When someone changes department, you change their role and the permissions follow. If permissions were assigned one by one, after a few months nobody would know who can do what.
The principle of least privilege
Each person should have the permissions they need for their job, and nothing more. It's called the principle of least privilege, and it's one of the most useful rules in all of IT security.
In practice it means starting closed and opening up when needed. A new user sees nothing until they're assigned a role. A role can't delete until someone decides it should be able to. This also applies to AI agents connected to apps: agents with too many permissions are one of the topics we looked at in the article on the risks of AI agents according to OWASP.
An example: the purchase request app
Let's take a concrete case, the purchase request flow. Here's a split of roles to start from:
| Role | Sees | Creates | Approves | Exports |
|---|---|---|---|---|
| Requester | Their own requests | Yes | No | No |
| Department head | Their department's requests | Yes | Below a threshold set by the company | No |
| Purchasing | All approved requests | No | No | Yes |
| Management | Everything | No | Above the threshold | Yes |
| App administrator | The configuration, not the content | No | No | No |
Two details. The department head sees only their own department, not the others: visibility also depends on who the data belongs to, not just on the role. And the administrator who manages the app doesn't necessarily need to read the data: configuring and working are different roles.
The most common mistakes
- Everyone is an administrator. It's convenient at first, then nobody ever removes it.
- Shared accounts. "The warehouse user" used by five people: convenient, but no trace of who did what.
- Permissions checked only on screen. The button is hidden, but the data still reaches anyone who knows where to look. The check must live in the data, not just in the interface.
- Access that never expires. The person changed jobs, the external contractor finished, the account is still there.
- No log. When something goes wrong, nobody knows who saw, edited or approved what.
External users: suppliers, customers, contractors
When an app opens up to people outside the company, permissions become even more important. A supplier portal only works if each supplier sees their own orders and nothing else. These are the rules to keep:
- Each external user has their own account, tied to their company.
- They see only the data that concerns them, filtered by the company they belong to.
- Publishing an app externally is a decision in its own right, made by someone with permission to do it and approved by a person who is accountable for it.
- Access is closed when the collaboration ends.
Who decides the rules
When departments also build apps in a company, as we saw when discussing citizen developers, you need a layer above the individual apps. Someone, IT or the owner, decides once who can publish, who can open an app externally and which data can be connected. Each app then defines its own roles within that perimeter, and an activity log keeps track of who did what.
Frequently asked questions
What's the difference between roles and permissions?
A permission is an action on a type of data, like viewing, editing, approving or exporting. A role is a set of permissions assigned to people who do the same job. Permissions go to roles and roles go to people, so when someone changes jobs you just change their role.
What is the principle of least privilege?
It's the rule that each person has only the permissions they need for their job. In practice you start from no access and open up when needed. It applies to people and also to AI agents and services connected to apps.
How do you manage external users in a business app?
Each one with their own personal account, tied to their company, and with visibility limited to the data that concerns them. Opening an app externally must be a decision made by whoever is responsible for it. When the collaboration ends, access must be closed.
Where to start tomorrow
Pick the most used app or shared spreadsheet in your company and list who accesses it today. Next to each name, write what they should be able to do, not what they can do. The differences between the two columns are your first job. To see how a company can keep these rules in one place, see who it's for.

