A customer portal needs more than a sign-in screen. Your business must decide which records each person can see, which actions they can take, and what happens when their relationship with an account changes. Those decisions belong in the project brief, before the developer starts building menus.
This original planning guide uses a fictional maintenance company with customer accounts and service requests. It does not describe a real customer system or certify any application as secure. The goal is a clear set of requirements your team can implement and test.
Separate identity from authority
Signing in establishes who the system recognizes. It does not, by itself, explain what that person should be allowed to do. A verified customer might view their own requests while being unable to change billing contacts or invite another user.
Write permissions as specific actions on specific records. “Customer access” is less useful than “view service requests belonging to an account where this person is an active member.” The second statement gives the development team a relationship it can check.
The OWASP authorization guidance recommends least privilege, denying access by default, and validating permissions on every request. It also discusses record relationships and authorization testing. The planning exercise here applies those broad principles to a business brief; a checklist alone is not proof that the implementation meets them.
List the records and the actions
For the maintenance portal, begin with customer accounts, service requests, attachments, invoices, and internal notes. Then list operations such as view, create, edit, approve, download, export, invite, and delete.
Some combinations should not exist at all. A customer might never view an internal staff note. A dispatcher might update a service schedule without changing payment details. An account owner might invite colleagues without becoming an administrator of the entire platform.
Include bulk actions and exports in the discussion. A screen showing one permitted record and a download containing every account are different outcomes. Do not let the export rule remain implicit just because the normal page looks correct.
Choose roles that match real work
Avoid giving everyone an administrator role because it is convenient during a demonstration. Start with the smallest useful set, then describe the exceptional cases explicitly.
In the fictional company, customer members could submit requests, account owners could manage membership, dispatchers could assign work, and platform administrators could manage operational settings. These are examples, not a universal role model.
Ask what each role needs to accomplish on an ordinary day. If two people need different access to individual records, a role label alone may not be enough. Record the additional ownership or membership condition rather than multiplying confusing role names.
Plan changes to membership
Access requirements must cover more than the first invitation. What happens when an employee leaves a customer organization, changes teams, or loses responsibility for an account?
Define who can revoke membership, when the change takes effect, and how existing sessions or shared links are handled. Include what happens to records the departing person created. Removing access and deleting the history of a business transaction are separate decisions.
Also plan recovery for the last account owner. The business needs an authorized process for resolving that situation without a casual support request becoming a way to take over another organization’s records.
Make hidden and denied states understandable
Decide what an unauthorized person should see without revealing private information. A denied request should not leak another customer's name or attachment details merely to explain the error.
Hiding a button can improve the interface, but it is not the access rule. The server must enforce the relevant decision when it receives the request. Include direct record URLs, file downloads, and background operations in the requirements.
For authorized users, preserve work where practical when access changes mid-task. An explanatory message is better than a screen that silently fails or claims a save succeeded when it did not.
Test relationships with synthetic accounts
Create two fictional organizations and several test users with different roles. Use invented requests and attachments. Agree on expected outcomes before running the tests.
Your acceptance set should include:
- A member viewing and changing an allowed record.
- A member attempting to access the other organization’s record.
- A direct attachment URL opened without the required membership.
- An export reviewed for both allowed and excluded information.
- Membership revoked during an existing session.
- An ordinary user attempting an administrator action.
- A failed authorization check that returns a safe error.
Review the stored result and response, not just the visible menu. Keep these cases with the project so later changes can be checked against the same boundaries.
Put the rules in the scope
A useful access brief identifies records, actions, roles, ownership relationships, membership changes, recovery, and acceptance cases. Assign a business owner to resolve ambiguous rules. Do not leave those decisions to whichever person happens to build the first screen.
Explore web application development and custom software development. An app blueprint can turn your workflow into an agreed access model before implementation. Tell the Vendovo team what you want to build.




