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

# Manage Flag Permissions

> Learn how to manage access permissions for individual flags.

export const HowToSchema = ({name, description, steps = []}) => {
  const schema = {
    "@context": "https://schema.org",
    "@type": "HowTo",
    name,
    description
  };
  if (steps.length > 0) {
    schema.step = steps.map((s, i) => ({
      "@type": "HowToStep",
      position: i + 1,
      name: typeof s === "string" ? s : s.name,
      text: typeof s === "string" ? s : s.text || s.name
    }));
  }
  return <script type="application/ld+json" dangerouslySetInnerHTML={{
    __html: JSON.stringify(schema)
  }} />;
};

<HowToSchema
  name="Manage Flag Permissions"
  description="Learn how to manage access permissions for individual flags."
  steps={[
{ name: "Go to the flag", text: "Navigate to the flag you want to share." },
{
  name: "Click Permissions",
  text: "Click Permissions at the top of the flag detail page.",
},
{
  name: "Add people or groups",
  text: "In the dialog, add the people or groups you want to share the flag with.",
},
{
  name: "Select role",
  text: "Choose the role to assign: - Viewer: Can view the flag and its configuration - Editor: Can view and edit the flag",
},
{
  name: "Review related resources",
  text: "Review the list of related resources that are shared automatically with the same permissions.",
},
{ name: "Click Share", text: "Click Share to grant the permissions." },
]}
/>

Share a flag with other users or groups to give them access to view or edit the flag. When you share a flag, related resources like segments are automatically shared with the same permissions.

## Share a flag

<Steps>
  <Step title="Go to the flag">
    Navigate to the flag you want to share.
  </Step>

  <Step title="Click Permissions">
    Click **Permissions** at the top of the flag detail page.
  </Step>

  <Step title="Add people or groups">
    In the dialog, add the people or groups you want to share the flag with.
  </Step>

  <Step title="Select role">
    Choose the role to assign:

    * **Viewer**: Can view the flag and its configuration
    * **Editor**: Can view and edit the flag
  </Step>

  <Step title="Review related resources">
    Review the list of related resources that are shared automatically with the same permissions.
  </Step>

  <Step title="Click Share">
    Click **Share** to grant the permissions.
  </Step>
</Steps>

## Related Resources

<CardGroup cols={2}>
  <Card title="Flags Reference" href="/docs/flags/create-flags">
    Flag schemas, variants, and configuration
  </Card>

  <Card title="Roles Reference" href="/docs/iam/roles">
    Learn about available roles
  </Card>

  <Card title="Policies Reference" href="/docs/iam/policies">
    Configure access policies
  </Card>

  <Card title="Share Experiment Permissions" href="/docs/how-to-guides/share-experiment-permissions">
    Manage experiment-level permissions
  </Card>
</CardGroup>
