Admin Area
The Admin Area is your command center for managing your app. Here you manage users, handle reports, moderate content, and assign admin rights.
Overview
Section titled “Overview”The Admin Area offers you the following functions:
Opening the Admin Area
Section titled “Opening the Admin Area”- Open Settings in your app
- Scroll down to the version number
- Long press on the version number (about 3 seconds)
- The admin login appears
- Sign in with your admin credentials
Admin Roles
Section titled “Admin Roles”BLOCQ uses a hierarchical role system with four levels:
| Role | Symbol | Description |
|---|---|---|
| Owner | Star | Full access to all functions, can manage other admins |
| Administrator | Shield | Can manage users, reports and content |
| Moderator | Security | Can manage users and reports |
| Editor | Pen | Can create and edit content |
Detailed Permissions
Section titled “Detailed Permissions”| Permission | Owner | Admin | Moderator | Editor |
|---|---|---|---|---|
| Manage admins | Yes | - | - | - |
| Manage users | Yes | Yes | Yes | - |
| Handle reports | Yes | Yes | Yes | - |
| Manage content | Yes | Yes | - | Yes |
The Dashboard
Section titled “The Dashboard”The Admin Dashboard shows you all available areas at a glance:
Your Role
Section titled “Your Role”At the top you see your current admin role:
- In Demo Mode: Highlighted in orange with a note that changes are not saved
- In Production Mode: In your app’s primary color with your actual role
The dashboard is divided into two main sections:
Management
- Reports - Review reported content (orange icon)
- Users - Manage user accounts (blue icon)
- Administrators - Manage admin roles (purple icon, owner only)
Content
- Depending on activated modules, management cards appear here for:
- News, Blog, Wiki, FAQ, Documents
- Gallery, Portfolio, Forum, Chat
- Menu, Orders, Prices, Shop
- and other modules
Demo Mode vs. Production Mode
Section titled “Demo Mode vs. Production Mode”BLOCQ distinguishes between two operating modes:
Demo Mode (App Builder)
Section titled “Demo Mode (App Builder)”| Property | Behavior |
|---|---|
| Admin access | Always available |
| Role | Automatically “Owner” |
| Saving | Changes are not saved |
| Purpose | Test UI, try out features |
In Demo Mode you see an orange message with every save action: “Changes are not saved in Demo Mode.”
Production Mode (Customer App)
Section titled “Production Mode (Customer App)”| Property | Behavior |
|---|---|
| Admin access | Only with admin role in Firebase |
| Role | Corresponds to assigned role |
| Saving | Changes are saved to Firebase |
| Purpose | Real app management |
Frequently Asked Questions
Section titled “Frequently Asked Questions”How do I become an admin?
Section titled “How do I become an admin?”In Production Mode, an entry must exist in the Firebase collection /admins/{userId}. The first admin (owner) must be created manually in the Firebase Console.
Why can’t I save changes?
Section titled “Why can’t I save changes?”If you see the message “Changes are not saved in Demo Mode,” you are in the App Builder. In Demo Mode, all admin actions are only simulated.
Can I change my own role?
Section titled “Can I change my own role?”No, you cannot change your own role. Another owner would have to adjust your role.
What happens when I delete a user?
Section titled “What happens when I delete a user?”Deleting a user is a “soft delete” - the account is marked as deleted but not completely removed from the database. The user can no longer log in.
How do I add the first admin?
Section titled “How do I add the first admin?”- Open the Firebase Console
- Go to Firestore Database
- Create the collection admins
- Create a document with your User ID as document ID
- Add the fields:
role: "owner",permissions: ["all"]