feat(FN-1122): add agent permission access APIs
- Define canonical agent permission types and export permission helpers from @fusion/core - Add permission normalization and access-state computation with role defaults plus explicit grants - Extend AgentStore with getAccessState and add unit tests for permission logic and store behavior - Add dashboard routes for GET /api/agents/:id/access and PATCH /api/agents/:id/permissions with request validation and serialization - Add a minor changeset for @gsxdsm/fusion documenting the new agent permission endpoints
This commit is contained in:
5
.changeset/fn-1122-agent-permissions.md
Normal file
5
.changeset/fn-1122-agent-permissions.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@gsxdsm/fusion": minor
|
||||
---
|
||||
|
||||
Add agent permissions and access control: structured permission model with role-based defaults, `AgentAccessState` type, `GET /api/agents/:id/access` and `PATCH /api/agents/:id/permissions` endpoints.
|
||||
Reference in New Issue
Block a user