Langfuse role-based access control and project roles: who can see and change LLM traces
When several teams share one self-hosted Langfuse, the access model decides who can read traces that may contain customer data, who can edit prompts, and who can create or delete API keys. Langfuse answers this with users, organizations, projects and roles. Every user receives an organization-level role by default, and you can give individual users project-level roles when you need finer control over a specific project. Project-level roles require the Enterprise Edition when Langfuse is self-hosted, so the licensing decision comes before the role design.
The five roles are Owner, Admin, Member, Viewer and None. Owner holds every permission, including deleting a project. Admin edits project settings and grants access. Member can view metrics and create scores but cannot change configuration. Viewer has read-only access. None gives no default organization access and suits users who belong to a single project and should not see the rest of the organization. Because API keys belong to a project rather than to a user, the role of the person who creates or revokes a key determines who controls ingestion for that project. Plan these owners explicitly so that a departing engineer does not leave a project without anyone able to manage its keys.
Before rollout, confirm in your own instance which roles each action requires, since permissions can change between releases. Map each team to a role per project, identify who must be able to export data and who may delete traces, and check that at least two people hold Owner on every production project. Document the mapping alongside your access review, because the Langfuse access control documentation is the reference for the permission matrix that auditors and your own security team will ask you to reproduce.
Which Langfuse role fits which person
This table compares the five Langfuse roles and the minimum role needed for exports, API key management, trace deletion and project deletion. Read the first rows to choose who holds each role, and the later rows to check who can perform sensitive actions. The main takeaway is that project-level role assignment needs an Enterprise license key on self-hosted deployments, so confirm your edition before designing project access.
| Role or action | Typical holder or minimum role | Permissions and self-hosted licensing |
|---|---|---|
| Owner | Platform owner or lead, held by very few people | Full permissions, including deleting a project. Project-level assignment needs an Enterprise license key when self-hosted. |
| Admin | Project lead who manages settings and access | Edits project settings, grants access, manages project API keys and deletes traces. Project-level assignment needs an Enterprise license key. |
| Member | Engineers and evaluators who work with traces daily | Views metrics, creates scores and exports data. Cannot change configuration. Project-level assignment needs an Enterprise license key. |
| Viewer | Stakeholders and reviewers who need read-only access | View only, with no changes and no exports. Project-level assignment needs an Enterprise license key. |
| None | Users who should reach a single project only | No default organization access. Confirm with the Langfuse RBAC docs how None is assigned in your edition before relying on it. |
| Export data | Member or higher | Viewer cannot export. Plan Member access deliberately, since exports move trace data out of the platform. |
| Create or delete project API keys | Admin or higher | Keys belong to the project rather than a user, so they remain when an individual leaves. Limit Admin accordingly. |
| Delete traces | Admin or higher | Identify Admins before any deletion request, since Members and Viewers cannot delete traces. |
| Delete a project | Owner only | Only Owner can delete a project. Keep Owner accounts few and documented, and confirm break-glass access in your runbook. |
Design decisions before you assign roles
Most access problems in self-hosted Langfuse come from structure decisions made late: how many organizations exist, how projects map to applications, and who holds Owner. Settle these before you assign any role, because changing them later moves keys, traces and people between boundaries.
One organization or several
An organization is the top boundary that holds users and projects. Use one organization when all teams share a single governance model and need to see each other's projects. Use separate organizations when business units must not see each other's members or settings at all. Each organization has its own default role for new users, so a second organization is a policy decision, not just a naming choice. Check with your security team whether any group must be fully isolated before you create the first project.
Langfuse RBAC docsOne project per application or team
Projects own traces, prompts, datasets and project API keys, so they are the unit that receives data and access. Mapping one project to one application keeps keys and retention scoped to that application. Mapping one project to a whole team is simpler but gives every member of that team access to every application's data. Decide this first, because moving traces between projects is not a simple role change.
When to use project-level overrides
Organization-level roles apply to every project by default. A project-level role lets one user have more or less access in a single project, for example a Viewer across the organization who is an Admin on one project. Project-level roles require the Enterprise license key on a self-hosted instance. Use overrides for exceptions, and keep them few, because each override is an access grant someone must review later.
How None suits single-project users
The None role gives no default access to the organization and is intended for users who belong to one project only. Assign a project-level role to them directly. This keeps contractors and external reviewers from seeing other projects in the same organization. Confirm that your onboarding process sets the default role for new users so that a new hire does not receive broader access than intended.
Separating production and staging projects
A separate project for production keeps production keys, traces and prompts apart from staging. It also lets you restrict who can delete traces or the project itself without affecting test work. The trade-off is that prompts and datasets do not move automatically between projects, so plan how versions are promoted. Confirm the approach with the teams that deploy prompts before you create the projects.
Who holds Owner
Owner has all permissions, including deleting a project, so it should be held by a small number of accountable people, not by every administrator. Name at least one Owner who is not the person who installed the instance, and record who is Owner in your access review. Keep Admin for people who manage keys, settings and deletions of traces, since Admin can grant access without holding the destructive Owner permission.
How to set up roles and project API keys in self-hosted Langfuse
This sequence turns a self-hosted Langfuse instance into an organization with projects, users with the right roles and project API keys issued per application. Each step ends with a check, so access is verified before applications send production traces.
Confirm the Enterprise license key is in place
The instance administrator checks whether the design needs project-level roles, which are an Enterprise feature for self-hosted Langfuse. If it does, the administrator confirms that a valid license key is set on the instance and that the Enterprise features in use are active. If the design only needs organization-level roles and the open source features, this step is recorded as not required. Done when the instance settings show the license status, and the team has written down which roles it will use and whether each needs project-level assignment.
Create the organization and projects
The administrator creates the organization that will hold all Langfuse projects, then creates one project for each application, environment or team boundary that needs separate data and access. Project names should match the naming used in your change records so that later access reviews are easy to trace. Done when every planned project appears under the organization and each one has a single named owner recorded outside Langfuse.
Invite users and assign organization roles
The administrator invites each user and assigns an organization-level role, using Owner, Admin, Member, Viewer or None as the RBAC docs describe. Keep Owner to a very small group, since it carries full permissions including project deletion. The None role suits users who belong to a single project and should only see that project. Done when each invited user appears in the organization member list with the intended role, and a test account can sign in and see only the access its role allows.
Add project-level overrides where needed
Where a user needs a different level of access in one project than the organization default gives them, the administrator adds a project-level role. For example, a platform engineer might be a Viewer across the organization but an Admin on one project they maintain (illustrative). Project-level roles require the Enterprise license key. Done when the project member list shows the override, and the administrator has confirmed that the override does not widen access beyond what the access review approved.
Create project API keys for each application
An Admin of each project creates a separate project API key for each application or service that sends traces, rather than sharing one key across systems. Keys belong to the project, not to a person, so the key outlives staff changes but must be rotated through the same Admin role. Store each key in your secrets manager and record which application holds it. Done when every application that sends traces uses its own key, and a test trace from each one appears only in the intended project.
Verify each role can and cannot perform its actions
The administrator runs a scripted test with one account per role and checks the actions the RBAC docs assign to each. Confirm that Member can export data, that Admin can create or delete project API keys and delete traces, and that only Owner can delete a project. Confirm that Viewer and None cannot change settings or keys. Record the results with the date and tester name. Done when every role's allowed and denied actions match the design, and any mismatch has been fixed and retested.
How the role split differs for engineers, reviewers and auditors
Application engineers instrument services, send traces and read them while debugging. Their day-to-day work needs to see traces and metrics in the projects they ship, and they usually need to export data for analysis. They rarely need to change project settings, grant access or delete anything, so a Member role on their own project fits most cases. Project API keys belong to the project rather than to a person, so the team that owns a service should be the one that creates and rotates its keys, and that work needs Admin on that project.
- Member on their own project: enough to view metrics, create scores and export data, which engineers use for debugging and analysis.
- No Admin by default: creating or deleting project API keys and deleting traces need Admin, so limit Admin to a small named group per project.
- No Owner: deleting a project needs Owner, which no application team should hold.
- Keys scoped to one project: an engineer who leaves a team does not take a personal key with them, which keeps credential handover simple.
- Viewer for adjacent teams: teams that only read a service's traces can use Viewer, which removes export and scoring rights they do not need.
Before granting roles, confirm with the Langfuse RBAC documentation which actions each role permits in your version, because permissions change between releases.
Prompt owners and evaluation owners change what the application does. They edit prompts, manage labels, build datasets and run experiments, so their access touches production behavior even though they do not deploy code. Member gives them the ability to create scores and view metrics, which covers most annotation and review work. Configuration rights, such as editing project settings or granting access, should stay with a smaller set of people who understand the consequences of a change.
- Member for evaluation work: creating scores and annotations fits Member without granting configuration rights.
- Separate prompt governance from access administration: a prompt owner who can also grant roles can add people to the project without a second review.
- Protected prompt labels need Enterprise: when a self-hosted instance uses protected labels, confirm they are enabled under your license before relying on them for approval gates.
- Dataset and experiment ownership: name the owner of each shared dataset so changes are traceable to a person.
- Environment discipline: if production and staging share a project, prompt owners need clear guidance on which environment their changes reach.
Confirm with your team which prompt changes need a second approver, because role settings alone do not enforce a review step.
Security and compliance reviewers need to see how access is granted, who holds elevated roles and whether logs show it. Their job is to test whether access follows least privilege and segregation of duties, which means they should inspect rather than operate. A Viewer role across the projects they review lets them confirm settings and data handling without changing anything. Access to audit logs, retention settings and masking configuration is a separate question, and it should be confirmed against the Enterprise features your deployment uses.
- Viewer on reviewed projects: lets reviewers inspect configuration and traces without write permissions.
- No standing Admin or Owner: a reviewer who can change roles can also hide a change they made, which weakens the review.
- Read access to evidence: agree how reviewers receive role lists and audit exports, so they do not depend on administrators for every answer.
- Access reviews on a schedule: the CC6.3 criterion in the AICPA Trust Services Criteria expects access to be granted, changed and removed based on roles, so reviewers should check that removals happen.
- Documented exceptions: temporary elevated access should have an owner, an end date and a record.
Ask your auditor which evidence they will sample before the review, since that determines which role lists and logs you must be able to produce.
Platform administrators run the self-hosted instance, the organization structure and the infrastructure beneath it. They need enough rights to create projects, manage users and keep the deployment healthy. Owner rights at the organization level are sensitive because Owner can delete projects, so the platform team should keep Owner to a very small number of named people and use Admin for day-to-day project management. Instance-level tasks, such as provisioning through the management API, depend on Enterprise features and separate credentials.
- Few Owners: keep Owner to two or three named accountable people, with a documented break-glass procedure.
- Admin for project management: creating projects and managing keys can sit with Admin roles assigned per project.
- Separate infrastructure access: database and object storage credentials should not be granted through Langfuse roles, and should follow your secrets process.
- Provisioning as code: if you use initialization variables or the instance management API, keep their credentials out of user accounts.
- Segregation of duties: the person who approves a role change should not be the one who makes it.
Ask the vendor which roles are needed for each administrative action in your version, and test the setup in a non-production instance before you apply it broadly.
Security and operational considerations for Langfuse access
Roles are only one layer of Langfuse access control. The cards below cover the operational decisions that keep those roles narrow over time: who can export and delete, how project API keys are scoped and rotated, how departing users are handled, how sign-in is enforced, and how assignments are reviewed.
Least privilege for exports and deletions
Exporting data needs the Member role and deleting traces needs Admin, while deleting a project needs Owner. Many users who need to view traces do not need to export them, so a Viewer or Member who exports large volumes is a data exposure path. Decide who may export and delete before granting roles, and keep Owner to a small named group. Confirm these minimums against the RBAC docs for your Langfuse version before you publish an internal matrix.
RBAC docsScoping project API keys
API keys belong to a project, not a user, so a key keeps working after the person who created it has left. Creating or deleting project keys needs Admin. Give each application or pipeline its own key in the project it writes to, rather than sharing one key across environments. Record which service owns each key so that a rotation or revocation can be scheduled with the team that depends on it.
Rotating project keys on a schedule
Because keys are not tied to a person, a key rotation depends on a process rather than a user change. Plan a rotation window per key, create the replacement key, deploy it to the consuming service, confirm traces arrive, and then delete the old key. Store keys in your secrets manager and not in source control or sample notebooks. Ask whoever runs the platform to confirm the exact steps for creating and deleting keys in your version.
Offboarding users with project-bound keys
When a person leaves, removing their organization or project membership stops their UI and API access, but it does not revoke keys they created for shared services. Review keys created by that user, reassign ownership of each service, and rotate any key they may have copied locally. Include this check in the same ticket that removes the user from the identity provider.
Enforcing SSO through authentication settings
Self-hosted Langfuse can disable password sign-in or enforce SSO for specific email domains, which keeps role assignments tied to your identity provider accounts. Before you enforce SSO, confirm that at least two administrators can still sign in through a recovery path. Test the change in a non-production instance first, because a misconfigured domain rule can lock out the whole team.
SSO settings docsReviewing role assignments on a schedule
Roles drift as projects change, so set a recurring review of organization and project roles. Compare each Owner and Admin against the current team list, confirm that Member and Viewer grants still match a job need, and check that each project has a named owner. Keep the review record with your access evidence. Treat the review as a process you run, and confirm with your platform team how role changes are logged in your version.
How organization and project roles combine for one user
The diagram starts with a user who holds a default organization role. A project-level role, where the Enterprise license is in place for self-hosted deployments, can override that role for one project. Each project owns its API keys, and the role the user holds in that project determines whether they can export data, manage keys, delete traces or delete the project. Check the effective role per project, not only the organization role, before granting access.
Effective role per project decides which actions a user can take.
How role design supports access control evidence
Role design gives you the evidence trail for the AICPA 2017 Trust Services Criteria control CC6.3, which expects an organization to grant, change and remove access to protected data and functions based on roles and responsibilities, applying least privilege and segregation of duties. In Langfuse, the mapping starts with a written role matrix: which people get an organization-level role by default, which need project-level roles (a self-hosted Langfuse needs an Enterprise license key for project-level RBAC roles), and which single-project users sit at the None role. Each assignment should trace back to a job function, so an auditor can follow a person from a business need to a Langfuse role without guesswork. Confirm with your own security team which roles map to which functions before you configure anything.
The evidence that matters most is the set of places where privilege is high. Project API keys belong to a project rather than a user, creating or deleting them needs Admin, deleting traces needs Admin, and deleting a project needs Owner, while exports need only Member. Those differences show where segregation of duties has to be designed in: for example, the people who can export or delete data should be separate from the people who approve changes to retention or project settings. Keep the Owner role to a small, named group and record who holds it, since that is the first question an assessor will ask. Ask your Langfuse administrator to confirm these minimum roles against the current RBAC documentation, because permissions can change between releases.
A SOC 2 report is issued only by an independent CPA firm, and DeployOpen does not issue audit reports, attestations or certifications. DeployOpen can prepare the role configuration, the access review procedure and the change records that your auditor will sample. The difference between report types matters for planning: a Type 1 report describes the system and whether controls were suitably designed as of a date, while a Type 2 report adds an opinion on whether those controls operated effectively over a period. For a Type 2 engagement, your team needs periodic access reviews and dated records of role changes across the whole review window, not only a correct configuration on the day of the examination. Ask your auditor which evidence they will sample and how far back it must go before you finalize the role model.
Limits to confirm in your environment
Several role behaviors depend on the license tier, the release you run and how your identity provider passes users in. The cards below list what to test in a non-production Langfuse instance before you commit a role model to production.
Roles available in open source
Confirm which roles work on the MIT-licensed version and which need an Enterprise license key. The Enterprise-only list includes project-level RBAC roles, so a self-hosted instance without a key may give you organization-wide roles only. Test each role you plan to assign, and check whether the project-level override you depend on is available on your tier before you draw the design.
License key docsProject roles after an upgrade
Upgrade a copy of your instance and check whether existing project-level role assignments survive unchanged. Major upgrades such as v3 to v4 change the data model, so confirm that memberships, custom organization roles and API key scopes carry over. Record the before and after state of each test user.
- Latest release listed
- v4.63.0
Role behavior in your release
Permissions for actions such as exporting data, deleting traces and deleting a project are documented, but the exact behavior can change between releases. Run a test matrix against the release you deploy, with one user per role, and attempt each action through the UI and the API. Keep the results with your change records.
RBAC docsSSO users and automatic role mapping
Confirm whether users who sign in through your identity provider receive a role automatically, which role they get, and whether they can be placed in the correct project. Test a user from an approved email domain and one from outside it. Check what happens when a user is removed in the identity provider, since an existing Langfuse account may keep access until someone revokes it.
SSO docsDefault roles for new users
Verify which organization and project role a newly created account receives on first sign-in, and whether that default can be set during provisioning. A default that is broader than intended grants access before any administrator reviews the account. Test with a fresh account, then confirm the result in the audit trail your team uses.
Evidence for access reviews
Confirm that you can export a list of users, organization roles and project memberships in a form your reviewers accept. Access control evidence for CC6.3 depends on showing who holds which role and when it changed. If the UI cannot produce this list, plan a scripted export and test it before the review date.
Questions teams ask before designing Langfuse roles
Can the open source version of Langfuse do project-level roles?
No. Project-level roles are one of the features that need an Enterprise license key on a self-hosted deployment. The MIT-licensed version gives you organization-level roles, which apply across every project in the organization, and Langfuse states that all core features and APIs are available in the open source version without limits. Before you design a role model, decide whether you need per-project separation. If you do, confirm the feature list against the license key documentation, because the list also covers protected prompt labels, data retention policies and audit logs.
What does the Enterprise license key add, and what does it cost?
The key unlocks the Enterprise-gated features, which include project-level RBAC roles, protected prompt labels, data retention policies, audit logs, server-side data masking, UI customization, organization creators, and the org management API with SCIM. Pricing for the Self-Hosted Enterprise plan is custom. Langfuse also adds a named support engineer, solutions architect access and a support SLA. Check the self-hosted pricing page for current terms, and ask Langfuse for a written quote that states the license term, renewal conditions and which support items are included.
How long does a Langfuse role design take?
The duration depends mainly on how many teams, projects and environments need separate access, and on how many decisions are still open when the work starts. A single team with one project and a clear owner can be settled in a short working session. Several business units with shared prompts, separate production projects and contractor access take longer, because each boundary needs an owner and a rule for who grants access. Ask for a fixed-scope plan that lists the workshops, the role matrix and the test cases before agreeing to a timeline.
What does the work need from our side?
Plan to provide four inputs before design starts:
- An organization chart with reporting lines for everyone who will log in to Langfuse
- A list of teams, the projects each team owns and who is allowed to see production traces
- The identity provider setup, including which email domains will sign in and whether password sign-in must be disabled
- Named approvers for role changes, project deletions and data exports
Without these, the design usually stalls on questions that only your organization can answer.
Can our internal team design Langfuse roles without a partner?
Yes, a team that already runs Langfuse can design roles internally, provided one person owns the role matrix and someone reviews the Enterprise features before the license decision. The work is mostly policy and testing rather than configuration. The parts that teams most often get wrong are project API key ownership, the minimum role needed for exports and trace deletion, and the default role for new SSO users. A partner adds value when the design must be evidenced for an assessment, because the review then needs a written access model and test records that someone outside the team can check.
Which role should people need to export data or delete traces?
Langfuse documents the minimum roles for these actions. Exporting data needs the Member role, deleting traces needs Admin, creating or deleting project API keys needs Admin, and deleting a project needs Owner. Member is the lowest role that can export, so limit how many people hold it in sensitive projects. Keep the number of Owners small, and record who holds each role so that access reviews can check it. Confirm these mappings against the RBAC documentation for your installed version before you write them into policy.
How does a role design support least privilege evidence for SOC 2?
The AICPA's common criterion CC6.3 expects an organization to grant, change and remove access based on roles and responsibilities, with least privilege and segregation of duties in mind. Langfuse does not provide that evidence on its own. You need a written role matrix, an approval record for each grant, and periodic access reviews that compare Langfuse memberships with your identity provider. DeployOpen prepares these systems, controls and evidence for an assessment, but the independent auditor decides whether the controls meet the criteria.
Official Langfuse and AICPA sources for role design
Start with the Langfuse access control (RBAC) documentation before you map any team to a role. It defines the Owner, Admin, Member, Viewer and None roles, explains which role each action needs, and states that project API keys belong to a project rather than to a user. Read it alongside the Langfuse license key documentation, because project-level roles on a self-hosted instance need an Enterprise license key. Confirm that requirement against the current license page before you commit to a project-level design, since it determines whether you can separate duties at all on the MIT version.
For the audit side, use the AICPA 2017 Trust Services Criteria with revised points of focus (2022) as the reference for access decisions. The criterion that matters most here is CC6.3, which asks the organization to grant, change and remove access based on roles and responsibilities, applying least privilege and segregation of duties. Your role model is the evidence for that criterion, so document who holds each Langfuse role, why, and who approves changes. Note that the criteria are a reference framework, not a certification, and that your auditor decides how they apply to your environment.
How DeployOpen designs and delivers Langfuse access control
DeployOpen plans Langfuse role-based access control as part of the self-hosted deployment, not as an afterthought. We map organizations, projects, roles and project API keys to your teams and then build, test and document the result inside your own infrastructure so your security and compliance reviewers can check it.
How we scope
- We inventory which teams, projects and environments need separate access to traces, prompts and scores.
- We map each team to an organization or project role, with the minimum role for exports and deletions.
- We agree the scope, deliverables and timeline in writing before any configuration work starts.
- We confirm which project-level roles need an Enterprise license key before the design is finalized.
How we build
- We configure organizations, projects and roles in your self-hosted Langfuse instance.
- We create project API keys under the right owners and document who may create or delete them.
- We connect SSO where your identity provider is in scope, so role assignments follow your directory.
- We test each role against the permission matrix, including exports, trace deletion and project deletion.
How we hand over
- We deliver a role matrix that lists each role, its permissions and the teams assigned to it.
- We document the access review steps your team runs after joiners, movers and leavers.
- We walk your administrators through role changes, API key rotation and the audit trail for access events.
- We provide a retest summary so you can see which permission checks passed and which were fixed.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers after handover.
- A retainer can cover re-checking roles after Langfuse upgrades that change permissions or licensing.
- Support scope and response commitments are set in the written agreement, not assumed.
- Ask us to confirm role behavior for your Langfuse version before you change production access.

