Expand description
§Permission Manager (IPC Security)
Role-based access control for the IPC layer with built-in
audit logging. Manager::Struct is the enforcement core;
SecurityContext::Struct is the per-request envelope;
SecurityEvent::Struct + SecurityEventType::Enum carry
the audit trail.
Modules§
- Manager
Manager::Struct- the IPC RBAC enforcement core. Holds the role / permission tables and the rolling 1k audit log;validate_permissionis the gate every IPC operation passes through before dispatch. The struct + impl + tests stay in one file - tightly coupled cluster.- Security
Context - Security envelope used by
Manager::Struct::validate_permission. Carries the user id, roles, direct permissions, origin IP, and request timestamp.ipc_defaultproduces the loopback “ipc-connection” context used for local IPC. - Security
Event - Audit log entry written by
Manager::Struct::log_security_event. Pairs aSecurityEventType::Enumwith the user id, attempted operation, timestamp, and free-form details. - Security
Event Type - Discriminator for
SecurityEvent::Struct- the kind of audit-log entry being recorded.