Skip to main content

Managing Roles and Teams

Promptfoo Enterprise supports a flexible role-based access control (RBAC) system that allows you to manage user access to your organization's resources.

Creating Teams

Promptfoo Enterprise supports multiple teams within an organization. To create a team, navigate to the "Teams" tab in the sidebar and click the "New Team" button.

New Team

You can add users to a team by editing the team and clicking the "Add team members" button. This will also allow you to set the role of the user in the team.

Add Team Members

You can also create service accounts at the team level, which will allow you to create API keys for programmatic access to Promptfoo Enterprise. These are useful for CI/CD pipelines and automated testing.

note

Only system admins can create service accounts.

Creating Roles

Promptfoo allows you to create custom roles to manage user access to your organization's resources. To create a role, navigate to the "Roles" tab in the sidebar and click the "New Role" button.

New Role

Permissions

Promptfoo Enterprise supports the following permissions:

  • Administrator: Full access to everything in the team
  • View Configurations: View configurations, targets, and plugin collections
  • Run Scans: Run scans and view results
  • Manage Configurations: Create, edit, and delete configurations and plugin collections
  • Manage Targets: Create, edit, and delete targets
  • View Results: View issues and evaluations
  • Manage Results: Edit and delete evaluations and issues

See Also