App guides

Private pages are not enough: check your app's data permissions

A page that asks for sign-in can still be connected to data with the wrong permissions. Privacy needs to cover the page, the operation on a record and any attached file. Treat these as separate checks when building a customer or member application.

Define who can do what

Write an access table in ordinary language before asking AI to build. Visitors can read the public introduction. Members can read their own records. App administrators can review authorised submissions. Then decide separately who can create, update and delete each kind of record.

Avoid using everyone can read as a temporary shortcut for a private dataset. Build with dummy records while permissions are being tested. A later change to the interface may hide visible information but leave the original data access unchanged.

Keep checks on the server

Frontend code runs in a visitor's browser and can be inspected or modified. A hidden menu, disabled button or guessed-unlikely record ID does not enforce privacy. The service handling the request must check whether the authenticated user may perform that operation.

CloudWira's managed features provide server-side access checks, but the project's chosen configuration still matters. Ask the assistant to explain which permission controls each data list and file. If it cannot explain the relationship, investigate before importing real customer information.

Use two users and a signed-out session

Create Test User A and Test User B with separate records. While signed in as B, try opening A's record and attachment using known test links. Repeat while signed out. Test reading, editing and deletion separately because permission to perform one operation does not establish permission for another.

Also verify the intended administrator flow. An overly restrictive configuration can prevent legitimate staff from supporting users. Keep expected outcomes beside the test results so fixing one denied request does not accidentally broaden access for everyone.

Review changes and minimise sensitive information

Repeat access tests after changing the data model, adding a new role or asking AI to redesign a dashboard. Treat newly added collections and attachments as new permission decisions, not automatically safe copies of earlier work.

Collect only the information the application needs and provide an appropriate privacy notice. Highly sensitive or regulated workflows may require additional agreements and safeguards beyond default hosting features. If a requirement is unclear, resolve it before production use rather than assuming that sign-in alone satisfies it.

What should block publication of a private app?

A reproducible case where one customer can retrieve another customer's private records or files should stop publication until the boundary is fixed. Hiding the relevant link is not a sufficient correction. Retest the direct operation and neighboring routes.

Keep fictional cross-account cases as regression checks and document the intended role behavior. If the data is sensitive, confirm the broader operating requirements too. Publishing should follow evidence that the page, record and file permissions work together, rather than confidence in the appearance of a sign-in screen.

Build a permission matrix before collecting real data

List each role against each operation: read a list, read one record, create, edit, archive, download and export. Mark ownership conditions explicitly. A customer may read their own request but not every request in the same collection. A staff role may review assigned work without being able to change account access. A simple matrix exposes these distinctions before they become scattered conditions in generated code.

Use synthetic users and records while configuring the rules. Ask the builder to explain which server-side check enforces each row. If the answer is that a button is hidden or a record identifier is difficult to guess, the rule is not established. Access should remain correct when someone bypasses the normal page navigation and requests the resource directly.

Check files, search and exports as separate paths

An attachment may use a different route from its parent record. Copy the test file link and attempt to open it as another customer and while signed out. Inspect search suggestions and exports for unintended names, counts or fields. A private detail view does not prove that every alternative route applies the same ownership filter.

Consider caching and background work. A private response should not be reused across accounts without the correct identity scope. A job that runs after a user loses access should recheck the permission relevant to its action. Keep logs and error messages limited to information operators need. A denied operation should not leak the very data it is supposed to protect through its error explanation.

Verify changes in membership and session state

Test a user removed from a team, a role reduced during an active session and an expired login. Check direct links saved before the change. Decide what should happen to previously downloaded material separately; revoking future access cannot recall a file someone already legitimately obtained. Communicate the product's actual behavior rather than imply that access revocation erases every existing copy.

Administrative support access also needs a boundary. Use separate permissions for sensitive operations and record useful audit references. Avoid broadening every customer's access to fix a support issue. If an AI assistant can call tools, its scope should remain limited by the same backend rules. A model's instructions are not a replacement for authorization.

Keep privacy controls aligned with the product lifecycle

Repeat the two-user test after adding a collection, redesigning a dashboard or changing an integration. Review data minimization and retention when the workflow evolves. An archived record may remain stored, while a deleted file may still be referenced by retained content. Understand the supported lifecycle before promising removal or implementing cleanup.

For CloudWira managed apps, use the documented permission presets and SDK, then verify the resulting behavior in the published project. If the requirement involves particularly sensitive or regulated information, establish the additional contractual and operating controls before production use. Reliable privacy comes from clear ownership and enforced operations across the whole data path, not from the presence of a sign-in page alone.

Continue reading