langfuse-enterprise-rbac
Configure Langfuse enterprise organization management and access control. Use when implementing team access controls, configuring organization settings, or setting up role-based permissions for Langfuse projects. Trigger with phrases like "langfuse RBAC", "langfuse teams", "langfuse organization", "langfuse access control", "langfuse permissions".
- License 许可
- MIT
- 最近更新
- 2026-05-26
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- langfuse-enterprise-rbac
- author
- Jeremy Longshore <jeremy@intentsolutions.io>
- license
- MIT
- version
- 1.0.0
- description
- Configure Langfuse enterprise organization management and access control. Use when implementing team access controls, configuring organization settings, or setting up role-based permissions for Langfuse projects. Trigger with phrases like "langfuse RBAC", "langfuse teams", "langfuse organization", "langfuse access control", "langfuse permissions".
- allowed-tools
- Read, Write, Edit
- compatible-with
- claude-code, codex, openclaw
02 资源文件 1
- 参考文档references/implementation.md4.0 KB
03 SKILL.md 正文
Langfuse Enterprise RBAC
Contents
Overview
Configure enterprise-grade access control for Langfuse with role definitions, scoped API keys, project-based access, SSO integration, and RBAC audit logging.
Prerequisites
- Langfuse organization/team account
- Understanding of role-based access patterns
- SSO provider (optional, for enterprise SSO)
Instructions
Step 1: Implement Role-Based Permissions
Define five roles (Owner, Admin, Member, Viewer, API Only) with granular permission maps for dashboard, traces, settings, members, billing, and data deletion.
Step 2: Create Scoped API Keys
Generate API keys with specific permission scopes, project restrictions, IP allowlists, and custom rate limits.
Step 3: Implement Project-Based Access
Build a project access controller that maps users to roles per project, with privilege escalation prevention.
Step 4: Integrate SSO
Map IdP groups to Langfuse roles via SAML assertions. Enforce email domain validation.
Step 5: Enable RBAC Audit Logging
Log all member additions, removals, role changes, and permission denials. Alert security team on denied access.
See detailed implementation for advanced patterns.
Output
- Role-based permission system (5 roles)
- Scoped API key management
- Project-level access control
- SSO group-to-role mapping
- RBAC audit trail
Error Handling
| Issue | Cause | Solution |
|---|---|---|
| Permission denied | Insufficient role | Request role upgrade from admin |
| SSO login fails | Wrong group mapping | Update group mapping config |
| API key rejected | Expired or scoped | Create new key with correct scope |
| Project not found | No access | Request project access from owner |
Examples
Access Control Matrix
| Action | Owner | Admin | Member | Viewer | API Only |
|---|---|---|---|---|---|
| View traces | Yes | Yes | Yes | Yes | No |
| Create traces | Yes | Yes | Yes | No | Yes |
| Delete traces | Yes | Yes | No | No | No |
| Manage members | Yes | Yes | No | No | No |
| Manage billing | Yes | No | No | No | No |
Resources
04 同仓库更多 Skills
zustand-store-ts
Create Zustand stores with TypeScript, subscribeWithSelector middleware, and proper state/action separation. Use when building React state management, creating global stores, or implementing reactive state patterns with Zustand.
zustand-store-creator
Zustand Store Creator - Auto-activating skill for Frontend Development. Triggers on: zustand store creator, zustand store creator Part of the Frontend Development skill category.
zero-trust-config-helper
Zero Trust Config Helper - Auto-activating skill for Security Advanced. Triggers on: zero trust config helper, zero trust config helper Part of the Security Advanced skill category.
zapier-integration-helper
Zapier Integration Helper - Auto-activating skill for Business Automation. Triggers on: zapier integration helper, zapier integration helper Part of the Business Automation skill category.
zai-cli
Execute z.AI CLI providing vision, search, reader, and GitHub exploration via CLI and MCP. Use when user needs image/video analysis, OCR, UI-to-code conversion, error diagnosis, real-time web search, web page to markdown extraction, or GitHub code exploration. Trigger with phrases like "analyze this image", "search the web for", "read this page", "explore this repo", or "use zai". Requires Z_AI_API_KEY.
yt-research
Research competitor YouTube channels, niches, and trending topics for your content strategy. Use this skill whenever the user says "research channels", "analyze competitors", "find trending topics", "niche analysis", "competitive research", "what are other creators doing", "scrape YouTube channels", or wants to understand the competitive landscape for a specific tool or topic area. Use when working with yt research. Trigger with 'yt', 'research'.