update adming js

This commit is contained in:
2026-09-07 18:21:30 +03:30
parent 6c7e0574b9
commit 4add3ab859
10 changed files with 337 additions and 85 deletions

View File

@@ -11,7 +11,7 @@ Follow this checklist. Adapt steps if the feature is read-only or org-type-speci
```
- [ ] 1. Permissions & org type
- [ ] 2. Backend module
- [ ] 2. Backend module (+ Prisma / AdminJS if new models)
- [ ] 3. Frontend UI + thin page
- [ ] 4. i18n (en, fa, nl)
- [ ] 5. Verify build / tsc
@@ -40,6 +40,7 @@ backend/src/modules/{feature}/
- Service-level permission checks with `hasEffectivePermission`.
- DTOs use `ErrorCode` validation messages.
- Register in `app.module.ts`.
- If you add/change Prisma models: update AdminJS allowlist in `backend/src/admin/resources.ts` (same PR). See `.cursor/rules/adminjs.mdc`.
## 3. Frontend