Commit f78cda9
committed
feat(ai): update AI settings to use organization-based access control
- Refactor AI-related schemas and services to use organizationId instead of adminId
- Update AI router to check organization-level permissions
- Modify AI settings creation and retrieval to work with organization context
- Adjust server-side props and access checks for AI settings1 parent 747c213 commit f78cda9
File tree
10 files changed
+5326
-64
lines changed- apps/dokploy
- drizzle
- meta
- pages/dashboard/settings
- server/api/routers
- packages/server/src
- db/schema
- services
10 files changed
+5326
-64
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
0 commit comments