CRITICAL story-admin-portal-organization-administrator-001 3 pts
3
Story Points
Critical
Priority
Admin Portal
Feature

User Story

As a administrator
I want to access an administrative dashboard that displays organizational data scoped to my permission level
So that So that I have an immediate, consolidated view of user counts, pending approvals, activity summaries, and system health without needing to navigate multiple screens

Acceptance Criteria

  • Given I am an Organization Administrator, when I open the Admin Portal, then I see user counts, pending approvals, and activity summaries scoped exclusively to my organization hierarchy
  • Given I am a Global Administrator, when I open the Admin Portal, then I see aggregated platform-wide metrics spanning all member organizations
  • Given the dashboard is open, when underlying data changes in Supabase, then dashboard metrics update in real time without requiring a page refresh
  • Given I am on a mobile device, when I open the Admin Dashboard, then the layout adapts responsively with no content overflow or truncation
  • Given I attempt to access the dashboard without an admin role, when the permission check runs, then I am redirected to the no-access screen and no admin data is exposed

Business Value

A role-scoped dashboard eliminates the need for administrators to manually aggregate data from multiple sources, directly reducing administrative overhead. For a multi-tenant platform serving NHF, Blindeforbundet, and HLF simultaneously, a single entry point with proper scope enforcement ensures governance consistency and prevents cross-organization data exposure — a critical requirement for GDPR compliance.