The short answer
A first version, often called an MVP, should do the basic things that solve your customers’ day-to-day problems, and do them reliably. Underneath, it needs a clear structure of access and a record of what changed, because those are painful to add once real customers and real data are in the system. Nearly everything else can wait, provided the code is organized so it can grow.
Start with who can see what
Business software is used by organizations, not individuals, and organizations have structure. The products we have built for companies with several branches all needed the same shape, usually called role-based access, so it is worth getting right first.
At the top is a super admin who can enter any branch and see its data. Below that are branch owners, who run their own branch and manage its staff. Below them are the narrower roles, each seeing only what the business has decided that kind of user should see.
Decide this hierarchy of roles and permissions with the client before building screens. It shapes how data is stored and how every screen asks for it. Adding a level later means revisiting each place that reads or writes data, which is why it belongs in version one even when the first customer is small.
Super adminSees every branch
Branch owner · NorthSees the North branch and its staff
Staff · NorthSee only what the role allows
Branch owner · SouthSees the South branch and its staff
Staff · SouthSee only what the role allows
Keep a history of sensitive changes
Sooner or later someone asks who changed a record, or needs back something that was deleted. If the system kept no history, the honest answer is that nobody knows.
For sensitive data we keep audit records in the database: what changed, who changed it and when. A deleted item is still recoverable, and visible, to the super admin or to any role given that permission. This is cheap to build at the start and close to impossible to reconstruct afterwards, because the history you did not record does not exist.
Billing is a business decision
How customers pay, and through which payment provider, is for the business to decide, not the engineers. Our part is to lay out the options and what each means in practice, such as which countries and currencies it supports, how subscriptions and invoices work, and what it takes to change later. The client chooses the one that fits how they want to be paid.
What matters technically is that billing sits behind a clear boundary in the code, so a change of provider or pricing does not ripple through the product.
What can wait
If you want the product in customers’ hands sooner, hold back the deep features. Detailed customization for each department, specialist reports and the settings only one customer has asked for can all be built on top of a working core.
The usual mistake is trying to go deep in every department before anyone has used the basics. You learn far more from customers doing their daily work in a simple product than from guessing what each team will want.
Organize the code so it can grow
Leaving features for later only works if adding them later is easy. So the first version of a SaaS product is small in what it does and careful in how it is arranged: each area of the product kept separate, access checks in one place, and room for new roles and modules without rewriting the old ones. A small product with a sound structure grows. A large one with none has to be rebuilt.
Questions to ask before you build
Is the hierarchy of roles agreed, from the top-level admin down?
Agree it on paper before any screen is built. It shapes how data is stored and how every screen asks for it.
Is each customer’s data, and each branch’s, kept apart from the others?
It must be enforced on the server for every request, not only hidden in the interface.
Are changes to sensitive data recorded, and can deleted items be recovered by the right role?
Record who changed what and when from day one. History you did not record cannot be rebuilt later.
Has the business chosen how it wants to be paid?
That is the business’s decision. The engineering job is to lay out the options and keep billing behind a clear boundary.
Does the first version solve the daily problems, and nothing more?
If a feature is for one department or one customer, it can usually wait.
Can a new role or module be added without changing the existing ones?
That is the test of whether the structure will grow, and the reason to arrange the code carefully while the product is still small.