Introduce a dynamic RBAC system with a new 'roles' collection that grants granular permissions. Add hasPermission/requirePermission/loadUserPermissions utilities and a central permissions registry. Register the Roles collection in payload.config and add roleDocs relationship to Users. |
||
|---|---|---|
| .. | ||
| Assignments.ts | ||
| Awards.ts | ||
| Experience.ts | ||
| Profiles.ts | ||
| Qualifications.ts | ||
| Ranks.ts | ||
| Roles.ts | ||
| UserNotifications.ts | ||
| Users.ts | ||