You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
M4: Centralize MCP RBAC and session-scope isolation #66
src/ether/mcp/security.py defines OperationType and require_operation, but enforcement is scattered across handlers and manage_session mixes read, mutate, and query scopes. Session-scope checks and token rotation are not applied uniformly.
Acceptance criteria
One operation-to-tool registry maps every MCP tool to its required scope.
Split manage_session into read, mutate, and query scopes.
Every handler verifies the caller may access the requested session.
Token rotation is consistent between the static admin path and scoped tokens.
Tests cover a token that is valid but scoped to another session.
Activity