diff --git a/src/PowderCoating.Web/Helpers/HelpKnowledgeBase.cs b/src/PowderCoating.Web/Helpers/HelpKnowledgeBase.cs index 964d9be..2937120 100644 --- a/src/PowderCoating.Web/Helpers/HelpKnowledgeBase.cs +++ b/src/PowderCoating.Web/Helpers/HelpKnowledgeBase.cs @@ -82,7 +82,8 @@ public static class HelpKnowledgeBase ROLE AWARENESS: - SuperAdmin: Full access to everything including Platform Management tools - CompanyAdmin: Full access to all company features including Settings, Users, Billing - - Manager: Access to jobs, quotes, invoices, customers, inventory, reports — no platform tools + - Manager: Access to jobs, quotes, invoices, customers, inventory, vendors, reports — no platform tools + - Accountant: Financial focus — bills & AP, invoices, bank reconciliations, chart of accounts, vendors, purchase orders, reports; no jobs, settings, or user management - Worker: Can create/edit jobs and quotes; no settings, billing, or user management - Viewer: Read-only access to most data; no create/edit capabilities @@ -895,8 +896,9 @@ public static class HelpKnowledgeBase **Where:** [Company Users](/CompanyUsers) — via Settings menu → Users **Roles:** - - *CompanyAdmin* — full company access including settings, users, billing - - *Manager* — jobs, quotes, invoices, customers, inventory, reports — no settings or user management + - *CompanyAdmin* — full company access including settings, users, billing. All permissions granted automatically. + - *Manager* — jobs, quotes, invoices, customers, inventory, vendors, reports — no settings or user management + - *Accountant* — financial focus: bills & AP, invoices, bank reconciliations, chart of accounts, vendors, purchase orders, and reports. No job management, settings, or user management. When selected, the system auto-checks the five relevant permissions (Invoices, Reports, Vendors, Bills & AP, Accounting). - *Worker* — create/edit jobs and quotes; no settings, billing, or user management - *Viewer* — read-only access @@ -906,6 +908,12 @@ public static class HelpKnowledgeBase 3. System sends an invitation email 4. Save + **Fine-grained permissions:** Below the role dropdown on the Create/Edit user form, individual permission checkboxes let you grant specific capabilities beyond what the role provides. Notable permissions: + - *Can Manage Bills & AP* — access to vendor bills, expenses, bill payments, and recurring bill detection. The Bills controller requires this permission for all write actions. + - *Can Manage Accounting* — access to chart of accounts, bank reconciliations, and journal entries. + - *Can View Reports* — access to all financial reports and AI analytics features (cash flow, anomaly detection, financial queries, late payment prediction). + CompanyAdmin users always have all permissions (checkboxes are locked). Accountant role auto-checks: Can Manage Invoices, Can View Reports, Can Manage Vendors, Can Manage Bills & AP, and Can Manage Accounting. + **Resetting a password (sending a reset link):** On the Company Users list or the user's Details page, click the envelope-arrow button () next to the user. This sends the user an email with a secure password reset link — they click it and choose a new password themselves. This is the recommended way to help a user who is locked out or who fat-fingered their email at signup. **Deactivating a user:** Use the toggle on the user list or the edit form. diff --git a/src/PowderCoating.Web/Views/Help/Settings.cshtml b/src/PowderCoating.Web/Views/Help/Settings.cshtml index 7e95c56..1a7b704 100644 --- a/src/PowderCoating.Web/Views/Help/Settings.cshtml +++ b/src/PowderCoating.Web/Views/Help/Settings.cshtml @@ -548,13 +548,52 @@ RoleAccess level - CompanyAdminFull company access including settings, users, and billing. - ManagerJobs, quotes, invoices, customers, inventory, reports — no settings or user management. + Company AdminFull company access including settings, users, and billing. All permissions granted automatically. + ManagerJobs, quotes, invoices, customers, inventory, vendors, reports — no settings or user management. + AccountantFinancial focus: bills & AP, invoices, bank reconciliations, chart of accounts, vendors, purchase orders, and reports. No job management or settings access. WorkerCreate and edit jobs and quotes; no settings, billing, or user management. ViewerRead-only access to most data. +

+ When you select Accountant in the role dropdown, the permissions form automatically + pre-checks the five relevant permissions (Invoices, Reports, Vendors, Bills & AP, Accounting). + You can adjust the individual checkboxes for users whose needs differ from the default. +

+ +

Fine-Grained Permissions

+

+ Below the role dropdown, each user has individual permission checkboxes. These let you grant + specific capabilities independently of the role — for example, giving a Worker access to view + reports without making them a Manager. Company Admins always have all permissions and the + checkboxes are locked. +

+
+ + + + + + + + + + + + + + + + + + + + + + +
PermissionWhat it unlocks
Can Manage JobsCreate, edit, and update job status.
Can Manage InventoryAdd, edit, and adjust inventory items and stock levels.
Can Manage CustomersCreate and edit customer records.
Can Create QuotesBuild and send quotes to customers.
Can Approve QuotesInternally approve quotes on behalf of the customer.
Can Manage CalendarCreate and edit appointments.
Can View CalendarView the appointments calendar (read-only).
Can Manage ProductsCreate and edit catalog items.
Can View ProductsBrowse the catalog item list (read-only).
Can Manage EquipmentAdd equipment records and log maintenance.
Can Manage VendorsCreate and edit vendor records.
Can Manage MaintenanceSchedule and complete maintenance tasks.
Can Manage InvoicesCreate invoices and record payments.
Can View ReportsAccess all reports and AI analytics features.
Can Manage Bills & APCreate and pay vendor bills, record expenses, and use recurring bill detection. Grants access to the full Accounts Payable section.
Can Manage AccountingAccess the chart of accounts, bank reconciliations, and manual journal entries.
+

Resetting a Password