Hiring Staff & Role Permissions
The Staff Onboarding Flow (/people/hire) registers new employees, assigns duty branches, establishes job titles and targets, and issues cryptographic system roles.
1. Governance & Security Model
- Required Privilege:
staff: create(System Administrators and Executive Directors). - Three-Tier Account Provisioning:
- Core Identity: The employee’s personal account (National ID, mobile phone, email).
- Staff Profile (
STF...): The employment record linking the person to a physical branch (BRX...), official title, and performance target. - Role Grants: The specific operational permissions that govern menu visibility, gated actions, and Typesense cryptographic search key generation.
2. The 4-Step Hiring Rail
[ 1. The Person ] ──► [ 2. The Post ] ──► [ 3. Access & Roles ] ──► [ 4. Review & Credentials ]
Step 1: The Person (#person)
Capture the employee’s personal identification details:
| Field | Validation & Requirements | Purpose |
|---|---|---|
| Full Legal Name | As printed on national identity card. | Displayed across audit trails, client cards, and receipts. |
| National ID Number | 7–8 digit citizen ID; unique across system. | Primary login username and government verification anchor. |
| Mobile Phone | Valid Kenyan MSISDN (2547... or 07...). | Receives two-factor authentication (2FA) OTP codes. |
| Email Address | Institutional corporate email. | Receives system alerts, approval notices, and reports. |
| Gender | Female / Male / Other | Statutory reporting for regulatory returns. |
Step 2: The Post (#post)
Establish the employee’s operational base:
- Branch Assignment:
- Use the live search bar to select the assigned branch office (
BRX...). - Branch-scoped roles (
officer,manager,teller) will have their visibility confined to this office.
- Use the live search bar to select the assigned branch office (
- Job Title:
- Select from standard designations:
Loan Officer,Senior Loan Officer,Branch Manager,Teller,Accountant,Compliance Officer,Director,Administrator.
- Select from standard designations:
- Monthly Disbursement Target (KES):
- Sets the officer’s performance baseline (e.g.,
KES 2,500,000per month) used to power the dashboard progress gauge.
- Sets the officer’s performance baseline (e.g.,
- Employment Date: The official contract commencement date.
Step 3: Access & Role Grants (#access)
Select the operational privileges assigned to the employee:
| Role Option | Security Scope | Operational Permissions |
|---|---|---|
Loan Officer (officer) | Own Book & Branch | Client onboarding, loan origination, collection sheets. Confined to own borrowers. |
Branch Manager (manager) | Whole Branch | Loan approvals $< \text{KES } 500k$, reschedules, reassignments, staff monitoring. |
Teller (teller) | Branch Counter | Cash receipts, M-Pesa entry, STK push initiation, cash drawer balancing. |
Executive Director (director) | Org-wide | High-value loan approvals, write-offs, institutional reports. |
Accountant (accountant) | General Ledger | Chart of accounts, journal vouchers, bank reconciliations, fiscal closures. |
Compliance Officer (compliance) | Org-wide Risk | KYC document verification, sanction checks, AML monitoring, CRB reporting. |
Auditor (auditor) | Read-Only Org-wide | Universal read-only audit log inspection; cannot alter data or approve. |
Administrator (admin) | Organization-wide | Full configuration, product management, user provisioning, database reindexing. |
Step 4: Review & Credentials (#review)
- Verify Handover Checklist:
- Displays combined summary: Identity, Branch, Title, Assigned Roles.
- Temporary Password Generation:
- The platform generates a secure, randomized temporary password (e.g.,
Wk8NmY2z@45). - Click the Copy Password button to securely share with the employee.
- Security Rule: The employee is forced to set a private new password upon their initial sign-in.
- The platform generates a secure, randomized temporary password (e.g.,
- Complete Onboarding: Click Hire Staff Member.