How Do I Define Roles and Permissions for Your Application?

By Adrian Butnaru · Independent developer · Blanes (Girona), working remotely across Spain.

Adrian's GitHub · Adrian's LinkedIn.

Published: · Last technical review:

I define the roles and permissions of a web application based on the daily tasks of each profile, not just job titles. We separate who views records, who modifies them, who handles incidents or exports PDF reports, and which site each user accesses, agreeing on everything in writing before development.

I start with the tasks you need to authorise

Before drawing screens, it is best to describe a working day. I want to know what information each person needs to take action and what changes they should be able to make. A job title can serve as a reference point, but I would not treat it as a complete authorisation. I prefer to review specific actions: viewing a record, entering it, correcting it, downloading it, or managing access.

This article proposes scoping questions, not an already implemented matrix in your company. My published offering includes roles and permissions within operational web applications and PWAs. That description does not determine what a specific person will see, nor does it resolve the exceptions in your organisation. For that, I need your workflow and your decisions.

I separate viewing, modification, and scope

You can prepare a table with these columns:

Decision What I need you to describe
Person or profile Who performs the task, without including passwords
Information What records they need to view
Action What they can create, modify, or export
Scope / Site Which site or dataset it applies to
Exception What situation requires a different decision

I would not fill the table with generic permissions such as «full access» without explaining what that means. If you need that capability, I would ask you to list its boundaries as well. That way, I can discuss an operational decision with you, rather than an ambiguous label that everyone interprets differently.

I distinguish routine roles from exceptions

I suggest thinking in terms of roles before individual names. If you reassign someone to a different task, what access should accompany that change? If someone covers an absence, what can they do and what should remain off-limits? These are questions to agree upon, not features I take as included in any budget.

Nor would I assume that viewing implies downloading, or that modifying equates to managing users. I would ask you to decide those actions separately. A report may compile information different from what appears on a screen, so its recipient also deserves an explicit decision. If the answer depends on the site, I would note it down alongside the action.

Editorial scoping framework

Editorial framework for agreeing on permissions

This framework is a proposal for discussing requirements. It does not represent the architecture of a product, nor does it demonstrate how access is controlled in an existing application. The distinction matters: a well-formulated need still needs to be translated into a reviewed scope.

What I can substantiate about my work

I develop custom web applications and PWAs to digitise daily workflows and technical records. The published offering mentions multi-site management, roles and permissions, push notifications, and PDF export. I can use that description as a starting point to discuss your application, but not to attribute a specific matrix to it before analysing your case.

I suggest not using a visual reference as evidence of how your future application will behave: for that, we need to define what you want to verify and with what material, without attributing capabilities to another tool or exposing private information.

This guide does not present an implemented permissions matrix: actions, scopes, and exceptions are defined for each individual project.

When you should NOT multiply user profiles

I would not recommend requesting a different role for each person simply because their job titles differ. I suggest first checking whether their authorised tasks actually vary. If you cannot explain that difference with examples, I prefer leaving it as a pending decision rather than adding complexity to the scope.

Nor would I take for granted that you need to develop a new application if your current tool already resolves the workflow. As a comparison, I would raise two alternatives: reviewing the existing configuration or designing permissions in a new custom development. The first preserves your starting point; the second requires defining the tool as well. I do not assert which is better without reviewing it.

I would not turn this article into a guarantee of security or compliance. Here, I help you define responsibilities. Specific technical conditions require review and evidence distinct from this editorial explanation.

How I prepare a verifiable scope with you

To review your permissions, I need one permitted task and another that must remain restricted, along with its site. Based on that difference, I assess your case in writing and agree on the deliverables with you before development. That way, I can show you progress updates you can verify through actions, not just profile names.

For this conversation, I suggest bringing permitted scenarios and scenarios you want to restrict. For example, you can describe a lookup that should be available and a modification that should be excluded. What matters is not choosing the role name right now, but ensuring we both understand the decision you want to bring into the application.

What I would leave pending rather than improvising

If there is no designated person to decide on access rights, I would point that out. If two people describe incompatible rules, I would ask you to resolve that contradiction before presenting it as a settled requirement. I do not need real customer data to get started: you can explain the task and replace names with sample profiles.

I also suggest agreeing on what will happen when your organisation changes. Who will request new access? Who will validate a change in scope? I do not assume those answers are included in the offering: I want them to be part of the written conversation so we distinguish a current need from a potential future evolution.

Prepare your inquiry with the checklist

In the checklist self-assessment, you can review these two decisions together: who views or modifies each record and what permissions they need, and whether your operations cover multiple sites.

You do not need to settle every answer before writing to me. You can highlight what you know and what you need to agree on. I prefer reviewing a specific question about an action and its scope rather than receiving an unexplained list of profiles. That will be the starting point to assess your case, not an automated matrix or a budget generated by an article.

Permissions over records and distinct responsibilities

To prepare your case, I suggest describing the workflow you need and who is involved in it. Distinguish information that is consulted from actions that require authorisation, and point out what document or outcome you expect to review. This is a requirements proposal, not a capability attributed to an existing project or a commitment to implement.

You can specify as a requirement that one profile views a record and another attends to an incident, without assuming that both manage user access or export every document. Also note down the corresponding site. That description does not replicate an in-house product matrix: it is a way to prepare your own rules, including situations that must remain restricted even if someone can log into the application.

Frequently asked questions

Who can view or modify?

Permissions in a web application must separate who views, enters, corrects, or exports information and for which site they can do so. I define those actions and their scope with you, without assuming that one authorisation includes all the others. Exceptions must be explicitly set out in the scope before developing the tool.

What roles do I need to agree on?

Roles in an application must correspond to genuinely distinct tasks, not necessarily to every job title on an organisational chart. To agree on them, I review with you the records each profile uses, their actions, and their sites. The specific matrix requires validation: I do not set names or exceptions for your business without understanding that workflow.

Web applications and PWAs

Web applications and PWAs

Tell me about your case and I will review it in writing

Prepare your case with the checklist and self-assessment

Related articles