Key takeaways
- Authentication identifies the person. Authorization decides what that person may do.
- Define access in terms the business can verify, including organization membership, job responsibilities, and removal of privileges.
- Test realistic allow and deny cases in a dedicated environment and record the result without collecting secrets or customer data.
How are login and record access different?
Login tells the app which account is making a request. Authorization checks whether that account is allowed to take the action for the specific record. A manager at a clinic may approve appointments for one location. That manager’s login can be completely valid while they lack permission for a location they do not supervise.
Put the rule into a sentence before anyone changes the app. For example, “A dispatcher may edit open jobs assigned to their branch. After billing, only an authorized billing staff member may correct the job.” That sentence gives the engineer two boundaries to check and helps the person designing tests choose cases that actually matter.
A menu can make daily work easier by showing relevant actions. The app still needs an enforcement point where it decides whether each sensitive action is allowed. That might be server-side code or a managed data access policy. Ask which enforcement point applies to records, files, and background tasks, because a single account may pass through several of them.
| Business rule | Safe test account and record | Expected result |
|---|---|---|
| Customers can see their own requests | Test customer and request created for that customer | Request is visible with only the intended details |
| Branch staff work inside their branch | Sample staff account and a request for an unrelated test branch | Restricted information stays unavailable |
| Supervisors approve within their team | One supervisor account and two synthetic teams | The account can approve only within the assigned team |
| Former staff lose privileged access | An account removed through the normal administrator process | Sensitive access ends within the documented period |
| Files follow the record owner’s permissions | Sample attachment linked to a restricted request | People without the needed role cannot open the file through the app |
Start with the handful of rules that would cause real harm if they failed. Add a row for the approved path and one for a user who should lack access. Use approved internal accounts, prearranged tests, and staging. If a business rule is ambiguous, write down the question and have the process owner answer it before interpreting the test.
What does database-level access mean?
A managed backend can check conditions as it handles data. In Supabase, Postgres row-level security, often called RLS, can apply policies to individual rows. A policy might depend on account membership or record ownership. Which operations are possible depends on the app’s policies, including whether it can read an existing record or insert an allowed new one. Review the roles your app actually uses and the separate credentials reserved for trusted services. Supabase row-level security guide.
In Firebase, the correct enforcement depends on the product and how the app accesses it. Cloud Firestore clients are subject to Firestore Security Rules, while server client libraries use credentials and IAM. Ask the engineering team to identify the actual path for the action you are reviewing. A privileged background process can have a valid reason for reading more data. Give that process a narrow purpose and maintain account and configuration ownership. Firebase Cloud Firestore rules overview.
A policy for the main list of records may leave open questions about related documents, exports, and notifications. Review a workflow all the way through. For example, if an administrator reassigns a service request, decide whether access to an existing attachment and future notifications should follow the request or stay with a limited support role.

Which account changes deserve test coverage?
Include invitations, account recovery, role changes, and departures. Verify login through the provider you plan to use. Ask what happens when an account already has an open session and the administrator removes a role. Confirm what the business expects for ordinary staff access and sensitive privileges. Product teams can choose different session behavior based on their needs, but the owner should know the current rule.
Pay attention when a person works under more than one organization. A consultant might use the same contact email to work with two customers. Decide who invites that consultant, what each organization controls independently, and what happens if one removes access. Represent the supported case with two sample organizations. A test of “can someone log in?” says little about which organization’s data belongs on screen.
When entering outcomes in the issue tracker, record the scope, expected behavior, observed behavior, and application version. A person fixing the issue should be able to repeat the approved procedure without receiving real user data. If the intended rule changed during testing, write down who decided it and why.
Artemesis is a Bangladesh-based team that works remotely with U.S. businesses. If your test results leave questions about who can see or change records, book an app access review. Start with your list of roles and the workflow that needs the clearest rules.
How do you keep access checks current?
Keep a short business-owned list of access rules, then add tests for the cases most likely to break. When a new role appears, review it against existing paths to records, downloads, and staff actions. When a feature introduces a new service or data store, assign someone to confirm the rules apply there too. Have a named owner for exceptions that cross normal roles.
Example scenario, not a real client. A repair business has a staff app for supervisors to assign work. Technicians can see their assigned locations and update their own work orders. A new dispatcher role lets staff cover shifts across branches. Before release, the owner decides whether temporary coverage grants access to old work orders. Test that choice with two branches, record what happens when a coverage shift ends, and confirm ordinary technicians still have the access they need.
For more preparation, use the AI-built app launch security checklist, guide to rotating exposed API keys, and code audit scope for AI-built apps. Artemesis vibe code rescue can help plan fixes after the expected access is documented.
Frequently asked questions
Does a working login protect every page?
A login establishes identity. The application must still check what that person can do, especially when records belong to different organizations or when an action is reserved for staff.
Do I need separate tests for creating, editing, and deleting a record?
Yes when those actions have different rules or consequences. A staff member might be allowed to create a new request and update the contact details, while a manager needs to approve removal.
Should users test with their real accounts?
Use synthetic accounts with representative roles in an authorized test environment. Ask the people who normally do the work to describe common exceptions or participate using those test accounts.
Is a public client identifier always a secret?
The designation depends on the vendor and the key type. A documented public client identifier still relies on the appropriate permissions. Treat any credential designed for privileged operations as a secret and keep it in controlled server environments.
What changes should trigger a fresh review?
Review affected checks when you add a role, let people belong to more than one organization, introduce exports or attachments, or change the login provider. Repeat relevant checks after fixing an access issue.
Describe your app's access rules to Artemesis if you need help deciding which flows to verify before launch.
