
Permissions
Part of Building a no-code customer portal: signup and access rules
Choosing what a customer should be able to see
Choosing what a customer should be able to see: a practical guide to the key decisions and checks.
Design a portal view around the customer's question: “What can I do or check here?” Give them the records and status needed for that task, not a raw mirror of the internal database.
An internal note, risk score or another customer's record may sit beside useful fields, but it should remain outside the portal.
Start by listing what the customer actually does in the portal, such as checking an order, viewing an invoice or submitting a request. Working from tasks rather than tables keeps the view small and makes it easier to see which data is missing and which is surplus.
For each page, make a field list with its owner, sensitivity and permitted audience. Separate individual-contact access from account-wide access.
Decide whether a customer can see all of their organisation's cases or only the cases they submitted. That is a business rule, not a default a page builder should choose for you.
Think about change over time as well. A customer who changes role or leaves their employer should lose access promptly, and a case that was shared once should not stay visible forever. Decide who removes access, how quickly it happens and where that rule is written down.
Configure the data rule beneath the interface. In Power Pages, Microsoft documents table permissions tied to web roles and several access types, including contact and account access.
A visually hidden field or button is not a replacement for record-level access control.
Be careful with labels and error messages. A message that says a record exists but cannot be opened tells an outsider something they should not know. Where possible, show the same neutral response whether a record is missing or simply not theirs, and keep technical wording out of customer-facing text.
Test with two fictional customer accounts. Check lists, search results, detail pages and downloaded files.
Ask a customer-facing colleague whether the view answers the task without exposing confusing internal language.
Add fields only when they help a decision and have a clear permission rule.
Review the portal again whenever the underlying data changes. A new column added to a table may appear on a page without anyone deciding it should, so check new fields before they reach customers.



