1
0
Fork 0
polaris-task-force/src/utils/access-control
Z8MB1E ef7295c0d4 fix(intel): show the intelligence section to anyone with read access
v0.2.33 tightened hasIntelligenceQualification to write permissions for wiki
moderation, but the same check also gated navigation: regular members lost the
Intelligence sidebar section, command palette entries, keyboard shortcuts,
dashboard widgets, and tour steps. Add canViewIntelligence (intel read
permissions, with the strict qualification as a fallback) and use it for those
visibility surfaces. Wiki moderation, the tech tree, and division admin pages
keep the strict qualification.
2026-10-04 02:53:24 -04:00
..
canViewIntelligence.ts fix(intel): show the intelligence section to anyone with read access 2026-10-04 02:53:24 -04:00
divisionAccess.ts feat(tech-tree): add tech-categories collection, permissions, and treePosition 2026-10-01 10:03:49 -04:00
hasIntelligenceQualification.ts fix(intel): show the intelligence section to anyone with read access 2026-10-04 02:53:24 -04:00
hasLogisticsQualification.ts feat(rbac): migrate server actions and service layers to RBAC 2026-08-19 19:47:57 -04:00
hasPermission.ts feat(access): division-scoped admin page access 2026-09-21 20:48:08 -04:00
hasRoles.ts fix(auth): reject MCP API-key sessions in user auth paths 2026-08-25 12:27:35 -04:00
isAuthor.ts chore(access-control): scaffold empty isAuthor helper stub 2026-08-25 13:27:48 -04:00
isPayloadUser.ts fix(auth): reject MCP API-key sessions in user auth paths 2026-08-25 12:27:35 -04:00
isRole.ts feat(users): add trusted role, preferences, and profile/account auto-provisioning 2026-08-11 23:25:09 -04:00
loadUserPermissions.ts feat(rbac): add dynamic roles collection and permissions system 2026-08-19 19:47:36 -04:00