Accounting Roles and Permissions
Accounting uses Django model permissions through CustomDjangoModelPermissions.
Permission groups
Section titled “Permission groups”| Area | Permissions |
|---|---|
| Chart of Accounts | accountant.view_chartofaccount, accountant.add_chartofaccount, accountant.change_chartofaccount, accountant.delete_chartofaccount |
| Journal Entries | accountant.view_journalentry, accountant.add_journalentry, accountant.change_journalentry, accountant.delete_journalentry |
| Ledger Entries | accountant.view_ledgerentry, accountant.add_ledgerentry, accountant.change_ledgerentry, accountant.delete_ledgerentry |
| Bank Accounts | accountant.view_bankaccount, accountant.add_bankaccount, accountant.change_bankaccount, accountant.delete_bankaccount |
| Bank Reconciliations | accountant.view_bankreconciliation, accountant.add_bankreconciliation, accountant.change_bankreconciliation, accountant.delete_bankreconciliation |
| Statement Lines | accountant.view_bankstatementline, accountant.add_bankstatementline, accountant.change_bankstatementline, accountant.delete_bankstatementline |
| Payroll Configuration | accountant.view_payrollconfig, accountant.add_payrollconfig, accountant.change_payrollconfig, accountant.delete_payrollconfig |
Practical behavior
Section titled “Practical behavior”Frontend buttons and routes are permission-gated. For example, users need add permission to see create actions, change permission to edit or post/unpost, and delete permission to delete.
Superuser access bypasses ordinary route visibility checks in the frontend permission helper.