Skip to content

[Feature] Tool-level RBAC — role-based access control per agent tool #9

Description

@mosw

Body:
Add the ability to define role-based permissions at the tool level. Different agents or users should have different security policies.
pythonpolicies = {
"analyst_agent": {
"sql": {"allowed": ["SELECT"], "pii_redaction": True},
"file": {"allowed": ["read"]}
},
"admin_agent": {
"sql": {"allowed": ["SELECT", "INSERT", "UPDATE", "DELETE"], "require_where": True},
"file": {"allowed": ["read", "write"]}
}
}
This enables least-privilege enforcement per agent — critical for multi-agent production systems.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions