Flag overrides
Flag overrides are used to overwrite flag default value for an identity. For example, let’s say there is a feature called Email Scheduling, and there is a flag created for it with value “disabled”, which is the default for the entire environment. Now you want to enable it for a specific user, organization, or plan. You will create a flag override with value “enabled” for the identity you want to overwrite the default value for.
Managing Overrides
Section titled “Managing Overrides”It is possible to manage flag overrides from two places:
- Feature aside under “Flag” tab;
- Identity aside under “Overrides” tab.
You can create or remove override, as well as change it’s value.
Creating Override From Feature Aside
Section titled “Creating Override From Feature Aside”To create a flag override, navigate to the Features page and click on a feature you want to create the flag override for. In the opened aside, under the “Flag” tab, use the search bar under “Overrides” section to find an identity you want to create the override for. Once you see the identity in the dropdown, click on it to create the override.
The flag override will be created with the same value as the default for that environment.
Creating Override From Identity Aside
Section titled “Creating Override From Identity Aside”To create a flag override, navigate to the Identities page and click on an identity you want to create the flag override for. In the opened aside, under the “Overrides” tab, use the search bar to find a flag you want to create the override for. Once you see the flag in the dropdown, click on it to create the override.
The flag override will be created with the same value as the default for that environment.
Updating Override
Section titled “Updating Override”Once the flag is created, you can change its value using the toggle.
To remove the flag, click on the “X” on the right side of the flag entity.