Demo environment
ZEEHAAK AP / FRAMEWORK

Roles & permissions

A configurable starting point for access control.

Integration boundary. Menu visibility is a UX feature. Production handlers must independently verify authenticated identity, permission and tenant ownership on every request. This demo has no authentication backend.

Role matrix

Configured in config/permissions.php

Server-rendered
Roledashboard.vieworders.vieworders.createorders.editorders.exportusers.view
Super AdminAllowedAllowedAllowedAllowedAllowedAllowed
AdminAllowedAllowedAllowedAllowedAllowedAllowed
ManagerAllowedAllowedDeniedDeniedAllowedAllowed
StaffAllowedAllowedDeniedDeniedDeniedDenied
Data EntryAllowedAllowedAllowedDeniedDeniedDenied
ViewerAllowedAllowedDeniedDeniedDeniedDenied
CustomAllowedDeniedDeniedDeniedDeniedDenied

Current demo role: Admin

Update demo_role in configuration to verify server-side page and action visibility. Query parameters cannot grant a role.

if (!can('orders.edit')) {
    http_response_code(403);
    exit;
}
// Then enforce ownership and tenant scope in your backend.
YOUR WORKSPACE, YOUR WAY

Appearance

Preferences stay in this browser.

Jump to a page

OverviewOrdersAnalyticsForms & inputsMy profileTeam membersRoles & permissionsMake it yoursAuthenticationSystem pagesDeveloper guideChangelogCardsButtonsAlertsBadgesTabsDropdownsModalsTypographyIconsLoadersEmpty StatesToday's OverviewAlertsQuick ActionsActivitySystem StatusClient DashboardAll ClientsAdd ClientClient LedgerRecovery PlanClient MapSales to ClientsPayments ReceivedStatementsClient ReportsSupplier DashboardAll SuppliersAdd SupplierSupplier LedgerWheat PurchasesSupplier PaymentsSupplier ReturnsSupplier StatementsSupplier ReportsAccounts DashboardAccount KhataCash AccountsBank AccountsReceiptsPaymentsExpensesJournal EntriesLedgersTrial BalanceProfit & LossBalance SheetCash FlowAccounts ReportsSales DashboardNew SaleSales InvoicesSales ReturnsSales RatesDelivery / DispatchSales ReportsPurchase DashboardNew PurchaseWheat PurchaseOther PurchasesPurchase ReturnsPurchase PaymentsPurchase ReportsProduction DashboardNew Production BatchWheat IssueProduction EntryParta DashboardBatch HistoryYield AnalysisWastage / LossProduction AdjustmentsProduction ReportsStock DashboardCurrent StockRaw Material StockFinished GoodsPacking MaterialStock InStock OutTransfersAdjustmentsStock HistoryStock ReportsRecovery DashboardRecovery PlanToday's RecoveriesRecovery MapRoute PlanningPending RecoveryPromise DatesRecovery HistoryRecovery ReportsReports DashboardSales ReportsPurchase ReportsProduction ReportsStock ReportsClient ReportsSupplier ReportsRecovery ReportsAccounts ReportsEmployee ReportsGeneral SettingsCompany SettingsMenu PermissionsBrandingNotificationsWhatsApp SettingsBackupAudit LogsSystem Settings
Esc to close · Tab to navigate · Enter to open

A little head start

+ Create a record↗ Explore orders◷ View analytics▤ Start building

Confirm action

Record details