> ## Documentation Index
> Fetch the complete documentation index at: https://braintrust.dev/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Creating trace views requires create prompt permission

export const plans_0 = "Any"

export const deployments_0 = "Any"

export const data_plane_version_0 = undefined

export const use_case_0 = "Use case - Users surprised that creating custom trace views requires create prompt access permission on the project"

<Note>
  **Applies to:**

  * Plan - {plans_0}
  * Deployment - {deployments_0}
  * {data_plane_version_0}
  * {use_case_0}
</Note>

## Summary

**Issue:** Creating a custom trace view fails or is blocked unless the user has the `create prompt` permission on the project.

**Cause:** Custom views are not a separate object type. They are stored as prompt/function rows with `function_type = 'custom_view'`, alongside other project prompts.

**Resolution:** Grant the user the `create prompt` permission on the project.

## Resolution steps

### If a user cannot create a custom trace view

#### Step 1: Check the user's project permissions

In **Settings > Access control**, verify the user has the `Prompt: Create` permission for the project.

#### Step 2: Grant the required permission

Assign a role that includes `Prompt: Create`, or add the permission to a custom role for that project.

## Background

Custom views use the same storage layer as prompts. When you create a custom trace view, Braintrust stores the view configuration and generated code as a prompt/function row with `function_type = 'custom_view'`. Because of this, the permission check at creation time is identical to creating a prompt.

| Action                     | Permission required |
| -------------------------- | ------------------- |
| View a custom trace view   | `Prompt: Read`      |
| Create a custom trace view | `Prompt: Create`    |
