update adming js
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user