Skip to content
This repository has been 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

Open
KemingHe opened this issue Sep 16, 2024 · 0 comments
Assignees
Labels
feature New feature or request security URGENT! Fix vulnerability asap

Comments

@KemingHe
Copy link
Contributor

@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.
@KemingHe KemingHe added feature New feature or request security URGENT! Fix vulnerability asap labels Sep 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature New feature or request security URGENT! Fix vulnerability asap
Projects
None yet
Development

No branches or pull requests

4 participants