Skip to content

Build withAdminGuard() HOC #2

@mohammed3200

Description

@mohammed3200
  • 🔖 Labels: frontend, security

  • Checklist:

    • Read session via next-auth
    • Redirect non‑admins to /unauthorized
    • Wrap all admin pages
    • Add unit/integration tests

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions