Admin dashboard for your app The admin dashboard is half your app
A dispatcher spends the whole morning in one screen, while a customer opens the app for a few minutes a week. Which one is your team building for?
In short
The admin dashboard is the screen your staff work in every day: they approve orders, change prices and resolve problems. The app shows customers only what that dashboard allows, so its quality sets what the team can get done. Version one should hold the weekly actions, clear roles and a record of every money change, and charts can wait until the work has settled.
- The people who spend their day in the dashboard decide whether the app works, while customers open it for minutes a week.
- Permissions are written into the database, where they are hard to bypass.
- Postponing the dashboard moves the work into spreadsheets and WhatsApp groups, and those stay.
Who works inside the dashboard
Picture a dispatcher at a transport and storage company in Sohar who starts the day at seven. Orders arrive from the app, and the dispatcher has to swap a driver because a truck is late, confirm a new price for a large customer, and ask accounts about an invoice still waiting to be issued. The only screen built for that work is missing. The dispatcher sends a message to the developer on WhatsApp, and the developer changes a line in the database that evening.
This is the part of the product most plans forget. Customers open the app for a few minutes a week. Your staff spend hours each day in the back office. The team usually includes whoever approves orders, whoever watches stock, whoever handles complaints, and the owner who wants to know what happened yesterday. Each of them needs different tools, and all of those tools read the same data.
The rule we work by is simple: the app serves the customer, and the dashboard serves the employee. When the developer turns into a manual data operator, the company has launched the app before building the dashboard it needs.
What goes into version one
Use this rule. If an action repeats every week, and a delay costs the company time or money, it belongs in version one. The table sums up the split:
| Put in version one | Postpone until after launch |
|---|---|
| Sign-in with clear roles: owner, supervisor and operations staff | Detailed permissions for each branch or sub-team |
| Three or four actions the team repeats every week, such as approving an order or publishing an offer | A full editor for every table in the database |
| Search and filters over the records the team checks every day | Charts and sales forecasts |
| A log of every change to money, identity and roles | Custom reports in every format |
Charts need data that builds up over months, so they have little to show in their first weeks. What the team needs today is the action that stops a delivery from slipping.
Permissions live in the database
The most common mistake in admin panels is hiding buttons from the wrong user while the underlying data stays open to anyone who knows where it lives. A hidden button only hides the button. In Supabase, the publishable key built into a mobile app reaches only what Row Level Security policies allow, and the documentation describes it as safe to expose in mobile and web apps for that reason. A table where RLS is left off stays open to any role that holds a grant on it.
When RLS is enabled with no policy, the publishable key sees no data at all until the developer writes the policies. That is the outcome you want: closed by default, then opened for each role on purpose.
The second check concerns the secret service_role key. Supabase documents it as bypassing every RLS policy, and meant for backend components only. If that key appears in the dashboard or in the app, the dashboard is open to anyone who finds it, however closed it looks.
You can test this with one request. Ask the developer to sign in with an operations account, try to read another branch's records, and then try to change a price there. If the second attempt succeeds, the permission exists only on the screen. We build these permissions into the database, and we describe how in our software and platforms service.
Who changed this, and when
Each change to money, identity or a role needs a line in a log: who made it, when, the value before and the value after. Dangerous actions, such as deleting a user or issuing a refund, need a mandatory reason field. The point is that the log can answer the questions that arrive two months later. Who edited the order? Who approved the refund?
If the dashboard shows customers' personal data, the question of who reached it and when becomes a legal question too. Our guide to Oman's Personal Data Protection Law sets out what a product team should check.
When the dashboard waits
The first weeks after launch show what happens when the dashboard waits. The team learns the easiest route: a shared spreadsheet, then a WhatsApp group, then a file listing the pending orders. The developer becomes responsible for every change and writes the commands by hand, so errors pile up and nobody can tell who changed what.
The cost hides outside the invoice. It shows up in an order that waits two days because no driver was assigned, in a wrong price that moved from the sheet into an invoice, and in an employee who shares a password with a colleague because the only account the team owns belongs to the owner.
Something else happens too. Customers start using the app before the dashboard can handle their orders. The result is a crowded first week, and the person who fixes it is the developer you know by name, while the system stays silent.
A test with one list
Ask the operations lead to write down the last five requests the team sent to the developer or any other system. Then follow three steps:
- Write each request as it arrived, with the date and the person who sent it.
- Next to each one, answer three questions: does it repeat every week, does it need a permission, does it need a log?
- Anything that repeated three times or more goes into version one. Everything else goes on a postponed list with a date to review it.
Then write one sentence at the top of the project file: "What happens if this action waits a week?" If the answer is that a shipment stops or an invoice goes missing, the action belongs in version one. If the answer is that the team waits a week longer, it can wait.
Before you approve the customer screens, ask the developer to show the dashboard first, in this order: permissions, then actions, then the log. An app with polished customer screens and no dashboard covers half the product, and the other half runs in a spreadsheet.
Sources
This post is general planning information as of its publication date. Your project's decision needs a review of its own permissions and roles.
