Update help docs and AI knowledge base for Accountant role and new permissions

- Settings.cshtml: add Accountant to roles table with description; add
  Fine-Grained Permissions subsection with a full table of all 16 permissions
  including the new Can Manage Bills & AP and Can Manage Accounting entries
- HelpKnowledgeBase.cs: add Accountant to ROLE AWARENESS section at top;
  add Accountant to USER MANAGEMENT roles list with auto-checked permissions
  note; add Fine-grained permissions paragraph documenting CanManageBills,
  CanManageAccounting, and Accountant role defaults

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-10 19:44:09 -04:00
parent feff0fa73d
commit dde66c807f
2 changed files with 52 additions and 5 deletions
@@ -548,13 +548,52 @@
<tr><th style="width:25%">Role</th><th>Access level</th></tr>
</thead>
<tbody>
<tr><td><span class="badge bg-danger">CompanyAdmin</span></td><td>Full company access including settings, users, and billing.</td></tr>
<tr><td><span class="badge bg-warning text-dark">Manager</span></td><td>Jobs, quotes, invoices, customers, inventory, reports — no settings or user management.</td></tr>
<tr><td><span class="badge bg-danger">Company Admin</span></td><td>Full company access including settings, users, and billing. All permissions granted automatically.</td></tr>
<tr><td><span class="badge bg-warning text-dark">Manager</span></td><td>Jobs, quotes, invoices, customers, inventory, vendors, reports — no settings or user management.</td></tr>
<tr><td><span class="badge bg-success">Accountant</span></td><td>Financial focus: bills &amp; AP, invoices, bank reconciliations, chart of accounts, vendors, purchase orders, and reports. No job management or settings access.</td></tr>
<tr><td><span class="badge bg-primary">Worker</span></td><td>Create and edit jobs and quotes; no settings, billing, or user management.</td></tr>
<tr><td><span class="badge bg-secondary">Viewer</span></td><td>Read-only access to most data.</td></tr>
</tbody>
</table>
</div>
<p class="small text-muted mb-3">
When you select <strong>Accountant</strong> in the role dropdown, the permissions form automatically
pre-checks the five relevant permissions (Invoices, Reports, Vendors, Bills &amp; AP, Accounting).
You can adjust the individual checkboxes for users whose needs differ from the default.
</p>
<h3 class="h6 fw-semibold mt-3 mb-2">Fine-Grained Permissions</h3>
<p>
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.
</p>
<div class="table-responsive mb-3">
<table class="table table-sm table-bordered mb-0">
<thead class="table-light">
<tr><th style="width:35%">Permission</th><th>What it unlocks</th></tr>
</thead>
<tbody>
<tr><td>Can Manage Jobs</td><td>Create, edit, and update job status.</td></tr>
<tr><td>Can Manage Inventory</td><td>Add, edit, and adjust inventory items and stock levels.</td></tr>
<tr><td>Can Manage Customers</td><td>Create and edit customer records.</td></tr>
<tr><td>Can Create Quotes</td><td>Build and send quotes to customers.</td></tr>
<tr><td>Can Approve Quotes</td><td>Internally approve quotes on behalf of the customer.</td></tr>
<tr><td>Can Manage Calendar</td><td>Create and edit appointments.</td></tr>
<tr><td>Can View Calendar</td><td>View the appointments calendar (read-only).</td></tr>
<tr><td>Can Manage Products</td><td>Create and edit catalog items.</td></tr>
<tr><td>Can View Products</td><td>Browse the catalog item list (read-only).</td></tr>
<tr><td>Can Manage Equipment</td><td>Add equipment records and log maintenance.</td></tr>
<tr><td>Can Manage Vendors</td><td>Create and edit vendor records.</td></tr>
<tr><td>Can Manage Maintenance</td><td>Schedule and complete maintenance tasks.</td></tr>
<tr><td>Can Manage Invoices</td><td>Create invoices and record payments.</td></tr>
<tr><td>Can View Reports</td><td>Access all reports and AI analytics features.</td></tr>
<tr><td><strong>Can Manage Bills &amp; AP</strong></td><td>Create and pay vendor bills, record expenses, and use recurring bill detection. Grants access to the full Accounts Payable section.</td></tr>
<tr><td><strong>Can Manage Accounting</strong></td><td>Access the chart of accounts, bank reconciliations, and manual journal entries.</td></tr>
</tbody>
</table>
</div>
<h3 class="h6 fw-semibold mt-3 mb-2">Resetting a Password</h3>
<p>