Multi-Facility Access Control
Configure access control for a multi-building IoT solution where supervisors monitor all facilities, facility managers administer their own building, and end users view assigned dashboards only.
Prerequisites: Basic familiarity with Roles and RBAC.
Scenario
Section titled “Scenario”Multiple commercial buildings, each modeled as a Customer, with devices (HVAC, electricity meters, sensors), dashboards, and user groups per building.
| User type | Role types | Scope | What they can do |
|---|---|---|---|
| Supervisor | Generic (read-only) + Group (all on dashboard group) | Tenant | Read all entities across all buildings; manage own dashboards |
| Facility Manager | Default Customer Administrator | Customer (per building) | Full control within their building only |
| End User | Default Customer User | Customer (per building) | View assigned dashboard in full screen |
Supervisors configuration
Section titled “Supervisors configuration”Step 1. Create dashboard group
Section titled “Step 1. Create dashboard group”- Navigate to Dashboards ⇾ Groups.
- Click Add entity group.
- Name: Supervisor Dashboards.
- Click Add.
Step 2. Create roles
Section titled “Step 2. Create roles”Generic role: “All Entities Read-only”
Section titled “Generic role: “All Entities Read-only””- Navigate to Security ⇾ Roles.
- Click + Add role.
- Name: All Entities Read-only — Role type: Generic.
- Add one permission entry: Resource All, Operations Read, Read Attributes, Read Telemetry.
- Click Add.
Group role: “Entity Group Administrator”
Section titled “Group role: “Entity Group Administrator””- Click + Add role.
- Name: Entity Group Administrator — Role type: Group.
- Add one permission entry: Operations All.
- Click Add.
Step 3. Create Supervisors user group and assign roles
Section titled “Step 3. Create Supervisors user group and assign roles”- Navigate to Users ⇾ Groups.
- Click Add entity group — Name: Supervisors.
- Open the group details ⇾ Roles tab.
- Click Add — assign Generic role All Entities Read-only.
- Click Add again — assign Group role Entity Group Administrator for: • Owner: Tenant • Type: Dashboard • Entity group: Supervisor Dashboards
- Click Add.
Result: Supervisors can read all entities across all buildings and manage dashboards in Supervisor Dashboards only.
Facility manager configuration
Section titled “Facility manager configuration”Each building is modeled as a separate Customer. The default Customer Administrators group with all permissions is used — no custom roles needed.
Step 1. Create customer (one per building)
Section titled “Step 1. Create customer (one per building)”- Navigate to Customers.
- Click + Add customer.
- Title: Building A.
- Click Add.
Step 2. Add facility manager
Section titled “Step 2. Add facility manager”- Click Manage customer users for Building A.
- Click + Add user.
- Enter the facility manager’s email.
- Click Add, then copy the activation link.
The new user is placed in the default Customer Administrators group, which has full permissions within the customer scope.
Result: The facility manager can provision devices, manage dashboards, configure thresholds, and manage users within their building — with no access to other buildings.
End user configuration
Section titled “End user configuration”Step 1. Create dashboard (as Facility Manager)
Section titled “Step 1. Create dashboard (as Facility Manager)”- Log in as the Facility Manager.
- Navigate to Dashboards.
- Create dashboard End User Dashboard and add the required widgets.
- Click Save.
Step 2. Create the end user
Section titled “Step 2. Create the end user”- Navigate to Users ⇾ Customer Users.
- Click + Add user, enter the end user’s email.
- Click Add, then open the user details ⇾ Edit.
- Set Default dashboard to End User Dashboard.
- Enable Always fullscreen.
- Apply changes.
Result: The end user sees only the assigned dashboard, which opens in full screen. No access to the admin panel.
Verification
Section titled “Verification”| User | Expected access |
|---|---|
| Supervisor | Can view telemetry from all buildings; can edit only Supervisor Dashboards; cannot modify devices |
| Facility Manager (Building A) | Can manage devices and dashboards for Building A; no access to other buildings |
| End User (Building A) | Sees only the assigned dashboard in full screen; read-only |
Summary
Section titled “Summary”This configuration combines:
- Generic roles for tenant-wide read-only visibility.
- Group roles for controlled dashboard management.
- Customer hierarchy for strict per-building isolation.
- Default groups (Customer Administrators, Customer Users) where custom roles are unnecessary.