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 on client #2042

Closed
3 tasks done
junjun107 opened this issue Mar 19, 2024 · 0 comments · Fixed by #2043
Closed
3 tasks done

Implement feature flag on client #2042

junjun107 opened this issue Mar 19, 2024 · 0 comments · Fixed by #2043
Assignees
Labels
dev Code Development P-Feature: Admin Dashboard Admin dashboard page Role: Back-end Node/Express Development Task Role: Front-end Front End Developer size: 3pt The lift to complete this user story 4-8hrs Sprint 05

Comments

@junjun107
Copy link
Member

junjun107 commented Mar 19, 2024

The goal of this ticket is to determine whether the current user is authorized to access a particular feature. It replaces the old environment variable feature flag system.

Backend:

  • Update getByEmail in account-service to retrieve both user details and their feature names list.
  • Update features types

Frontend:

  • Modified useFeatureFlag hook to use userContext to check if current user has access to the specific feature
@junjun107 junjun107 self-assigned this Mar 19, 2024
@junjun107 junjun107 added dev Code Development Role: Back-end Node/Express Development Task Role: Front-end Front End Developer size: 3pt The lift to complete this user story 4-8hrs P-Feature: Admin Dashboard Admin dashboard page Feature: Administrative Sprint 05 labels Mar 19, 2024
@github-project-automation github-project-automation bot moved this to New Issue Approval in P: FOLA: Project Board May 31, 2024
@qiqicodes qiqicodes moved this from New Issue Approval to Done in P: FOLA: Project Board May 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dev Code Development P-Feature: Admin Dashboard Admin dashboard page Role: Back-end Node/Express Development Task Role: Front-end Front End Developer size: 3pt The lift to complete this user story 4-8hrs Sprint 05
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants