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

Implement Feature Flag Middleware #2243

Open
tobi-bams opened this issue Dec 19, 2024 · 4 comments
Open

Implement Feature Flag Middleware #2243

tobi-bams opened this issue Dec 19, 2024 · 4 comments
Labels

Comments

@tobi-bams
Copy link
Contributor

Implement Middleware

  • Description:
    • Develop middleware to intercept requests and validate feature flag statuses.
  • Deliverables:
    • Middleware logic to:
      • Extract the request path.
      • Check if the path is mapped to a feature flag.
      • Query the database to validate the flag’s enabled status.
      • Return a 403 error if the feature is disabled and an error message of This feature is currently unavailable.
    • Unit tests for middleware.
@Ekep-Obasi
Copy link
Contributor

Ekep-Obasi commented Dec 19, 2024

@tobi-bams @humansinstitute please assign me

@saithsab877
Copy link
Contributor

saithsab877 commented Dec 19, 2024

@humansinstitute @tobi-bams assign me?

@Shoaibdev7
Copy link
Contributor

@tobi-bams I can help?

@MahtabBukhari
Copy link
Contributor

@tobi-bams @humansinstitute assign me?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants