Admin Users
Company Staff Accounts
Secure staff directory — Firebase Spark (free plan)
Register new staff (manual)
Firebase Spark cannot run our planned Cloud Functions. Create the Authentication login and its matching database profile manually in Firebase Console. Never enter a staff password into this Blogger page.
- Create login in Firebase Authentication → Users → Add user. Copy the generated UID.
-
Create database profile at
users/PASTE_UIDin Realtime Database. The UID must match exactly. -
Set
role: "company",active: true, name and the same email as the Authentication account. - Refresh this page. The staff account should appear in the directory.
The administrator needs Firebase Console project access for account creation. Do not grant staff Firebase Console access.
Important security distinction
The Activate/Deactivate button below updates the
active value in Realtime Database.
It does not disable the Firebase Authentication login.
All protected data rules must check
active === true.
To disable the Auth account itself, use Firebase Console.
Only profiles with role: "company"
are shown. Email and role are read-only here.
Comments
Post a Comment