sphinx-tribes
sphinx-tribes copied to clipboard
Implement Feature Flag Middleware
Breakdown of feature flag system in: https://github.com/stakwork/sphinx-tribes/issues/2235
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
enabledstatus. - Return a 403 error if the feature is disabled and an error message of
This feature is currently unavailable.
- Unit tests for middleware.
- Middleware logic to:
@tobi-bams @humansinstitute please assign me
@humansinstitute @tobi-bams assign me?
@tobi-bams I can help?
@tobi-bams @humansinstitute assign me?