Manage Administrators
Administrator management allows you to assign and manage admin roles to other users. This function is only available to owners.
Overview
Section titled “Overview”Via Administrators (purple shield icon in the dashboard) you access admin management.
Who can manage administrators?
Section titled “Who can manage administrators?”| Role | Access |
|---|---|
| Owner | Yes |
| Administrator | No |
| Moderator | No |
| Editor | No |
Admin Roles in Detail
Section titled “Admin Roles in Detail”BLOCQ uses four hierarchical admin roles:
| Property | Value |
|---|---|
| Symbol | Star (purple) |
| Permissions | All (full access) |
| Special feature | Can manage other admins |
| Assignment | Only via Firebase Console |
The owner is the highest role and has full access to all functions. There should only be one owner per app.
Administrator (Admin)
Section titled “Administrator (Admin)”| Property | Value |
|---|---|
| Symbol | Shield (blue) |
| Permissions | Manage users, reports, content |
| Special feature | Can do everything except manage admins |
| Assignment | By owner |
Administrators are the “right hand” of the owner and can independently manage daily operations.
Moderator
Section titled “Moderator”| Property | Value |
|---|---|
| Symbol | Security icon (orange) |
| Permissions | Manage users, reports |
| Special feature | No content management |
| Assignment | By owner |
Moderators take care of the community: They handle reports and manage problematic users.
Editor
Section titled “Editor”| Property | Value |
|---|---|
| Symbol | Pen (green) |
| Permissions | Manage content |
| Special feature | No user/report management |
| Assignment | By owner |
Editors maintain content such as news, blog articles, wiki entries and other modules.
Permission Matrix
Section titled “Permission Matrix”Overview of what each role can do:
| Permission | Owner | Admin | Moderator | Editor |
|---|---|---|---|---|
| Add/remove admins | Yes | - | - | - |
| Change admin roles | Yes | - | - | - |
| Block/delete users | Yes | Yes | Yes | - |
| Handle reports | Yes | Yes | Yes | - |
| Manage content (News, Blog, etc.) | Yes | Yes | - | Yes |
| Request app updates | Yes | Yes | Yes | Yes |
Admin List
Section titled “Admin List”The admin list shows all users with admin rights:
Displayed Information
Section titled “Displayed Information”For each admin you see:
- Role icon with color
- User ID (or email for server admins)
- Role as colored badge
- Granted on (date)
Info Banner
Section titled “Info Banner”At the top you see a notice:
“Here you can assign and manage admin roles. Only the owner can see this page.”
Add New Admin
Section titled “Add New Admin”- Open Administrators in the dashboard
- Tap the FAB (Floating Action Button) “Add admin”
- A bottom sheet opens
- Enter the user’s User ID
- Select the role (Administrator, Moderator or Editor)
- Tap Save
Find User ID
Section titled “Find User ID”You can find the User ID:
- In the user detail view below the name
- In the Firebase Console under Authentication
- In the user profile (if configured as visible)
Available Roles for Assignment
Section titled “Available Roles for Assignment”| Role | Assignable |
|---|---|
| Owner | No (only via Firebase Console) |
| Administrator | Yes |
| Moderator | Yes |
| Editor | Yes |
Edit Admin Details
Section titled “Edit Admin Details”Tap on an admin in the list to go to the detail view:
Displayed Information
Section titled “Displayed Information”- User ID of the admin
- Current role with description
- Granted on (date)
- Granted by (if available)
Change Role
Section titled “Change Role”- Open the admin details
- Select the new role from the options:
- Administrator
- Moderator
- Editor
- Tap Save in the AppBar
Revoke Admin Rights
Section titled “Revoke Admin Rights”- Open the admin details of the admin
- Tap Remove admin (red)
- Confirm the warning:
“Do you really want to revoke all admin rights from this user?”
- The admin is removed from the list
What happens when removing?
Section titled “What happens when removing?”- The user immediately loses all admin rights
- They can no longer access the admin area
- Their normal user account remains intact
- The action is logged
Set Up First Admin
Section titled “Set Up First Admin”If your app is new, you need to set up the first admin manually:
- Open the Firebase Console (console.firebase.google.com)
- Select your project
- Go to Firestore Database
- Create a new collection: admins
- Create a document with your User ID as document ID
- Add the following fields:
role:"owner"(String)permissions:["all"](Array)grantedAt: (Timestamp - now)
- Save the document
- Log out and back in to the app
Frequently Asked Questions
Section titled “Frequently Asked Questions”Can I have multiple owners?
Section titled “Can I have multiple owners?”Technically yes, but it’s not recommended. The owner role should be unique to have clear responsibilities.
What happens if the only owner deletes their account?
Section titled “What happens if the only owner deletes their account?”Then no one can manage admins anymore. You must create a new owner through the Firebase Console.
Can an admin change their own role?
Section titled “Can an admin change their own role?”No, you cannot change or remove your own role. Another owner must do that.
Are admin actions logged?
Section titled “Are admin actions logged?”Admin actions are not automatically logged. Use admin notes on reports for documentation.
Can I temporarily deactivate an admin?
Section titled “Can I temporarily deactivate an admin?”There is no “pause” function. You must remove the role and reassign it later.
What is the difference between Firebase admin and server admin?
Section titled “What is the difference between Firebase admin and server admin?”- Firebase admin: User with entry in the
/adminscollection, authenticated via Firebase Auth - Server admin: Authenticated via the BLOCQ server, e.g. for apps without Firebase Auth
In Demo Mode (App Builder), a simulated owner is always used.