Skip to content
This repository was archived by the owner on Jan 11, 2025. It is now read-only.
This repository was archived by the owner on Jan 11, 2025. It is now read-only.

feat: Firebase Auth and Firestore user role-based route protection for restricted pages #10

Description

@KemingHe

@devosu/event-feed-project-leads Let's add a Security branch family and assign a dedicated team to implement route protection feature.

Key tech to consider:

  • React context and providers (already pre-init the contexts dir for this).
  • React guards (design pattern, no such imports from react).
  • Use react-firehooks (already in package.json dep list).
    • DO NOT use the outdated react-firebase-hooks.
    • DO NOT write your own custom hooks.

Metadata

Metadata

Labels

featureNew feature or requestsecurityURGENT! Fix vulnerability asap

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions