Disclaimer: This website requires Please enable JavaScript in your browser settings for the best experience.

The availability of features may depend on your plan type. Contact your Customer Success Manager if you have any questions.

Dev guideRecipesAPI ReferenceChangelog
Dev guideAPI ReferenceRecipesChangelogUser GuideGitHubDev CommunityOptimizely AcademySubmit a ticketLog In
Dev guide

Manage flag roles

How to manage granular permissions roles for flags in Optimizely Feature Experimentation.

🚧

Important

Before managing flag roles, you must understand the Interactions between environment and flag roles.

Flag roles

You can assign the following flag roles to a user or team:

  • Admin – Can manage flag role's for other collaborators and perform all Editor actions.
  • Editor – Viewer permissions plus the following:
    • Can publish rules or edit published rules. To edit or publish rules in a specific environment, you must also have a Publisher environment role.
    • Can edit unpublished flag rules. To edit unpublished rules in a specific environment, you must also have an Editor environment role.
    • Can create variables and variations and adjust flag settings. To view rules in a specific environment, you must also have a Viewer environment role.
  • Viewer – Can view the flag and its settings. To view rules in a specific environment, you must also have a Viewer environment role.
  • None – Cannot view the flag or its contents.

📘

Note

The project role provides default access, but any environment- or flag-level permissions override it.

When a collaborator creates a flag, they are automatically assigned the Admin role for that flag. To create a flag, a collaborator must have Editor or Admin access in at least one environment. For example, a collaborator with the Viewer project role can still create flags if they are granted elevated environment-level access.

Update a flag role

  1. Go to Flags > All Flags.

  2. For the flag you want to update, select More Options (...) > Manage Permissions.

  3. Select the Users or Teams tab.

  4. (Optional) To filter the collaborators or teams, you can enter a name on the Search for a user or Search for a team field.

  5. Click Edit for the collaborator or team you want to adjust.

    📘

    Note

    You cannot update the flag role permissions for Administrators and Project Owners.

  6. Select the updated Flag Role.

  7. Click Save.