chore: add missing multi-level editor for approval workflow, rename projects to campaings.

This commit is contained in:
2026-05-01 14:23:37 -04:00
parent 5077f557f4
commit 884ca4b96d
148 changed files with 11567 additions and 1383 deletions

View File

@@ -0,0 +1,16 @@
# Claims and Roles Guidelines
To ensure consistency across the application, all claim and role values MUST be in lowercase.
## Roles
The following roles are currently used in the system:
- `administrator`
- `manager`
- `client`
- `provider`
- `developer`
## Implementation Notes
- **Processing**: The `authStore.js` automatically converts all roles extracted from JWT tokens to lowercase.
- **Comparisons**: All checks (e.g., `authStore.hasAnyRole(['role-name'])` or `meta: { roles: ['role-name'] }`) should use lowercase strings.
- **Routing**: Route guards in `router.js` expect lowercase role names in the `meta.roles` field.