Firebase Auth
Sign up or sign in with email/password. New users are created as viewer by default.
Not signed in.
After your first signup, make that user an admin once in Firestore: users/{uid}.role = "admin".
Upload secure document
Admins and staff can upload PDFs, store metadata in Firestore, and keep the file in Cloud Storage.
Real access control comes from Firebase Auth plus published Firestore and Storage rules. The UI alone is not security.
Document table
View your secure records, open protected files, and manage content based on your role.
| Document | Owner | Status | Allowed Users | Expires | Views | Actions |
|---|
Current profile
Loaded from Firebase Auth and Firestore.
UID
โ
โ
Role
Guest
Guest
Email
โ
โ
Name
โ
โ
Admins and staff can upload documents. Viewers can only open documents where their UID is allowed.
Persistent access logs
Firestore keeps your audit events between sessions.