Back to Playbook
Act 1: First Contact

5. First Dashboard & Company Context

Story

Sarah is now logged in. Since she is the owner of exactly one company, the system skips the company selector and sends her straight to the admin dashboard.

She sees an overview: employee count, pending leaves, today's attendance, upcoming holidays, and quick-action buttons to add employees, configure settings, and run payroll. A banner reminds her that she is on a 14-day trial.

Happy Path

  • Single company: auto-redirect to role-appropriate dashboard
  • Multiple companies: show the company selection page, user picks one, context is set, redirect to dashboard
  • Context cookie stores the active company ID, roles, and permissions for all subsequent requests

Failure Modes

FailureWhat the user seesWhat happens next
No companies found for userError page with contact supportAdmin must assign user to a company
Company subscription expired"Subscription expired, renew to continue"User is directed to billing page
User role not foundFallback to base access or errorAdmin must assign a role

Edge Cases

ScenarioBehaviorWhy
Same role in multiple companiesSelect company, then same dashboard typeConsistent experience per role
Different roles across companiesDashboard adapts to the role in the selected companyAccess is scoped per company context

ZettaHRM

A modern HRM workspace for employee management, attendance tracking, leave approvals and structured day-to-day HR operations.

© 2026 Zettabyte Technology Inc.|All rights reserved.