Skip to content
ERP HelpLyncs Help

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.

Create User Brand Access, Role Templates & Cost Visibility (Web + Mobile)
1. Account Type (User vs store) & Org Units: Standard User accounts require a direct_manager_id; store accounts omit manager linking for dedicated branch device logins.
Required Lyncs permissions & location scope (for Admins)8 permissions
Operational Role: Company Admin, Accounting Admin, Inventory Manager
Location Scope: Company-wide / Accounting scope
Lyncs Role Template Permissions (Users → Role Templates):
Create UserEdit UserDelete UserManage UserRegional ManagerOperational ManagerDistrict ManagerStore Manager

1. The 4-Stage User Provisioning Flow (/users/new)

Section titled “1. The 4-Stage User Provisioning Flow (/users/new)”

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/hierarchy and requires selecting a direct_manager_id for reporting structure and approval escalations.
    • store (Branch Device / Kiosk): Designed for shared store tablets or kiosks; intentionally skips direct_manager_id and stays excluded from the management hierarchy tree.

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 access ON with All stores OFF 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/new or /users/edit/:id pre-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:

  1. Choose mode: Add Permissions or Remove Permissions.
  2. Select target permissions across one or multiple modules.
  3. Choose target users manually from the paginated table (adjust display density across 20, 50, 100, or 500 rows per page) or upload an Excel file listing the target accounts.
  4. 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 Prices toggles 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.


5. Interactive User Scope & Cost Visibility Simulator

Section titled “5. Interactive User Scope & Cost Visibility Simulator”
Admin Access & Store Routing Flag SimulatorWeb + Mobile Effect
Hierarchy: Requires Direct Manager selection and appears inside the /users/hierarchy reporting tree.
Branch Scope: Strictly isolated to explicitly checked stores inside HierarchicalLocationSelector across Web & Mobile.
Cost Visibility: Prices masked via Inventory Cost Hidden except modules with explicit Inventory Cost View * overrides (Production always uses positive grants).
Location Eligibility: Standard Retail Branch: receives Warehouse Orders, executes Direct Transfers, Counting, Wastage & Pulse.