Docs / BananaQueue / Roles & permissions
Roles and permissions
The nine staff roles, what each can do, and how every account is limited to its own organization, branch or service.
How organizations are arranged#
Parent company→Branch (company)→Service→Counters
- A parent company is a group, such as a hospital network or a bank. It is optional: a single shop is just one company.
- A company is a branch with an address, time zone and opening hours.
- A service is one queue at that branch, such as Outpatient, Laboratory or Billing.
- Counters are the windows or desks that serve a service.
Every staff membership is attached to exactly one level. A parent company administrator reaches every branch below; a service administrator reaches only that service.
The roles#
| Role | Attached to | Typical person |
|---|---|---|
| System administrator | The whole installation | Merienda Systems support (Cloud), or the customer's IT owner (private cloud, on-premise) |
| Parent company administrator | A parent company | Head office, operations director |
| Company administrator | A branch | Branch manager |
| Service administrator | A service | Department head, supervisor |
| Finance user | A branch | Accounts, finance officer |
| IT staff | A branch | Sets up counters and TV screens |
| Counter employee | A branch | Teller, nurse, front desk |
| Cashier employee | A branch | Billing or payment window |
| Customer care agent | A branch | Concierge, help desk |
| Guest customer | Not an account | Anyone taking a number |
What each role can do#
| Permission | Parent / company admin | Service admin | Finance | IT staff | Counter / cashier | Customer care |
|---|---|---|---|---|---|---|
| Manage the organization and branches | ✓ | |||||
| Set up services, counters and rules | ✓ | ✓ | ✓ | |||
| Create staff and assign roles | ✓ | |||||
| See the queue, including names | ✓ | ✓ | ✓ | ✓ | ||
| Call and serve at a counter | ✓ | ✓ | ✓ | |||
| Check in and cancel appointments | ✓ | ✓ | ✓ | |||
| Manage TV displays | ✓ | ✓ | ||||
| View dashboards and exports | ✓ | ✓ | ✓ | |||
| View plan, usage and billing | ✓ | ✓ |
System administrators can do everything, and are the only ones who can suspend an organization, install a licence or change the brand.
Safeguards#
- Nobody can change their own role or membership.
- A branch administrator can't hand out head-office roles.
- The system administrator flag can't be set from the app at all.
- These checks run in the database on every request, so they hold for every screen and every app.
- Guests have no account and can't read any table. They can only take a number, book, check in or cancel through narrow actions that never reveal anyone's personal details.