Onboarding, Role Templates & Brand Scoping (/users/new)
Every new team member or branch kiosk is configured through the Create / Edit User flow (/users/new and /users/edit/:id) and standardized via Role Templates inside /users/settings. Proper configuration at onboarding ensures approvals route to the right manager and employees only view branches and financial figures matching their role.
1. The 4-Stage User Provisioning Flow (/users/new)
Section titled “1. The 4-Stage User Provisioning Flow (/users/new)”Step 1 · User Information & Account Type
Section titled “Step 1 · User Information & Account Type”Capture core profile fields and login credentials:
- Identity & Verification: Full Name, Email (live uniqueness validation prevents duplicate accounts), Country Dial Code + Phone, Password, Nationality, Gender, Custom Employee Code, Iqama / National ID, Driver License, and Joining Date.
- Account Type (
userType):- User (Standard Employee): Included in
/users/hierarchyand requires selecting adirect_manager_idfor reporting structure and approval escalations. store(Branch Device / Kiosk): Designed for shared store tablets or kiosks; intentionally skipsdirect_manager_idand stays excluded from the management hierarchy tree.
- User (Standard Employee): Included in
Step 2 · Organizational Structure (UserOrganizationSection)
Section titled “Step 2 · Organizational Structure (UserOrganizationSection)”Bind the employee into company-wide analytics and financial cost allocations:
- Primary Organizational Unit (
primaryOrganizationalUnitId): Main department or Business Unit owning the user. - Additional Organizational Units (
organizationalUnitIds): Extra units the user collaborates across. - Job Roles (
jobRoleIds): Functional job titles configured under/users/settings.
Step 3 · Brand Access & Store Scoping (UserBrandAccessSection)
Section titled “Step 3 · Brand Access & Store Scoping (UserBrandAccessSection)”Use the Limit access switch to control visibility across brands and stores:
| Mode | Configuration | Resulting Operational Visibility |
|---|---|---|
Company-Wide (Limit access OFF) |
Master switch disabled | User automatically accesses every active Brand and every Store in the company, including newly opened branches. |
Brand All-Stores (Limit access ON + All stores ON) |
Enable specific Brand cards with All stores active |
User sees only the selected Brand(s) and receives automatic access to all stores belonging to those brands. |
Explicit Store Selection (Limit access ON + All stores OFF) |
Use HierarchicalLocationSelector on each Brand card |
User is strictly isolated to the exact chosen locations (e.g., OLYA-01, OLYA-04) across Web modules and Mobile Brand/Store pickers. |
Best Practice: Keep
Limit accessON withAll storesOFF for store supervisors, kitchen dispatchers, and cashiers so transfer lists, cash batches, and sales dashboards never show sister branches unnecessarily.
Step 4 · Module Access & Fine-Grained Roles (UserPermission)
Section titled “Step 4 · Module Access & Fine-Grained Roles (UserPermission)”- Choose a Role Template to populate module permissions in one click, or toggle individual module cards and permission checkboxes manually.
- On save, LYNCS Mobile reflects the user’s granted modules and allowed Brands inside
SettingsScreen → Brands.
2. Managing Role Templates (/users/settings)
Section titled “2. Managing Role Templates (/users/settings)”Role Templates prevent drift across large store networks and eliminate manual checkbox fatigue during onboarding:
- Create & Clone Templates: Define canonical permission profiles (e.g., Store Manager, Warehouse Dispatcher, Procurement Officer, Finance Reviewer) inside
/users/settings → Role Templates. Clone an existing template when introducing a regional variant. - CSV Export & Excel Bulk Upload: Export existing templates as CSV for security audits, or import/update template definitions via Excel upload.
- Template Application: Selecting a template inside
/users/newor/users/edit/:idpre-fills exact permissions; administrators can still fine-tune individual overrides afterward.
3. Bulk Permission Updates (BulkPermissionUpdateModal)
Section titled “3. Bulk Permission Updates (BulkPermissionUpdateModal)”Use Bulk Permissions from /users/list whenever rolling out a new feature key or revoking a module right across dozens of users at once:
- Choose mode:
Add PermissionsorRemove Permissions. - Select target permissions across one or multiple modules.
- Choose target users manually from the paginated table (adjust display density across
20,50,100, or500rows per page) or upload an Excel file listing the target accounts. - Confirm execution — changes apply atomically without disturbing each user’s existing Brand or Store boundaries.
4. Financial Cost Masking & Module Overrides
Section titled “4. Financial Cost Masking & Module Overrides”Operators receiving stock, counting inventory, or placing branch replenishments do not always need visibility into vendor purchase prices or weighted-average item costs:
- Global Masking (Inventory Cost Hidden): Assigning Inventory Cost Hidden conceals valuation amounts, unit costs, and financial totals across standard operational views.
- Targeted Cost Overrides (Inventory Cost View *): Specific supply-chain, receiving, and stock views support explicit cost-reveal overrides and blind-receiving controls (such as GRN
Show Pricestoggles documented in GRN & Warehouses). - Combine Role Templates with Store Scoping so senior buyers and finance controllers inspect full valuation while front-of-house teams work strictly in quantities.
Next Reference: Review My Profile & Admin RBAC Reference for personal account preferences and the complete User, Store, and Hierarchy permission catalog.