Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create bypass feature flag list #767

Open
davidgamez opened this issue Oct 18, 2024 · 0 comments
Open

Create bypass feature flag list #767

davidgamez opened this issue Oct 18, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@davidgamez
Copy link
Member

davidgamez commented Oct 18, 2024

Describe the problem

Allow a list of emails and emails domains to access to features that are in "development" mode. This will help the internal team(and c onstributors) QA in production and have pre-release access to in-development features. Similar to what we did with the metrics features, we can allow all users to have all features enabled. As a downside, allowed users will always see the features ON, meaning if it's needed to test the UI as a non-allowed user, login credentials different than our domain are needed.

Proposed solution

Create a UI utility service responsible for returning whether the user has access to a feature. This will consider the user's email and the remote config values.

Alternatives you've considered

We can consider an external tool to manage feature flags or an in-house implementation that involves a server-side service that controls the available features per user. These kinds of solutions are more generic and can cover more scenarios. However, the time and effort required are significantly large compared to the proposed solution. These alternatives can be considered as the next step in the future.

Proposed implementation

Create a remote config with the regex list of users' email and/or DNS domains.

Additional context

No response

@davidgamez davidgamez added the enhancement New feature or request label Oct 18, 2024
@davidgamez davidgamez changed the title Enable features for internal team Create bypass feature flag list Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant