HTTP Endpoints with RBAC: - ingest_handler: project-level write access check - learn_handler: project-level write access check - projects_handler: filter returned projects by user access - query_handler: filter search results by resource access - context_handler: project-level read access check Example Role Configurations (config/roles/): - admin.yaml: full access to all resources - portfolio-agent.yaml: public visitor access - authenticated-user.yaml: logged-in user access - homelab-team.yaml: team-scoped project access All 660+ tests passing.
18 lines
513 B
YAML
18 lines
513 B
YAML
# Homelab Team role: full access to homelab project
|
|
name: homelab-team
|
|
description: Team members with full access to homelab project
|
|
|
|
rules:
|
|
# Full read/write access to homelab wiki and skills
|
|
- resources: [wiki, skill, embedding]
|
|
verbs: [read, write, query]
|
|
scope:
|
|
projects: [homelab]
|
|
|
|
# Can manage conversations in homelab
|
|
- resources: [conversation]
|
|
verbs: [read, write, delete]
|
|
scope:
|
|
projects: [homelab]
|
|
# Note: no owner restriction - team can see all conversations
|