1
0
Fork 0
polaris-task-force/src/utils/access-control
Z8MB1E afa79b4be4 feat(tech): member-facing tech research system and tech tree
Add a research pipeline over the existing technology tree: Research
Facility blueprint fields copied to structure instances, tech-researches/
tech-ballots/tech-ballot-votes collections, Game Rules research config,
pure rules lib (capacity, duration math, eligibility, intel-weighted
tally with tie cascade), a timestamp-derived tech-tick bin that opens,
resolves, advances and completes research with notifications, vote
casting server actions, and a read-only member-facing tech tree page at
/intelligence/tech-tree with veil blackout and dossier-style panels.

Includes migration 20261019_184409_add_tech_research_system, permission
groups, event and notification types, sidebar entry, and integration
plus e2e coverage.
2026-10-19 17:28:26 -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): member-facing tech research system and tech tree 2026-10-19 17:28:26 -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
optimisticConcurrency.ts feat(tech-tree): optimistic concurrency for the tree editor 2026-10-15 11:48:30 -04:00