Back to website

Protected operational workspace

Authorized Area

Keep dashboard, inventory, audits, reports, settings, and profile routes protected by account and restaurant permissions.

Permission-based UI

Protected sections

What this feature does

Authorized Area is the protected side of AuditNett. It controls access to operational pages after login and keeps users inside the restaurants and actions they are allowed to use.

This protects restaurant-specific data, blocks direct URL access when needed, and keeps collaborators from seeing admin-only settings.

Feature highlights

Protected dashboard access

Authenticated pages wait for session, profile, permissions, and restaurant data before rendering.

Restaurant-specific permissions

Actions and pages use the current restaurant membership instead of global mock access.

Team restrictions

Non-admin users cannot access Settings, admin management, or unauthorized mutations.

Responsive navigation safety

Sidebar navigation, profile actions, and loading states stay permission-aware on desktop and mobile.

How it works inside AuditNett

1

Authenticate the user

The system verifies Supabase session and profile data before dashboard content appears.

2

Load assigned restaurants

Only restaurants connected to the user’s membership are available in the selector.

3

Apply route permissions

Settings and admin-only screens are hidden and blocked for users without access.

4

Guard mutations

Create, edit, delete, and audit actions check permissions before writing to Supabase.