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

feat: #1145 use cached access for applications list #1209

Merged
merged 24 commits into from
Feb 23, 2024

Conversation

ianliuwk1019
Copy link
Collaborator

@ianliuwk1019 ianliuwk1019 commented Feb 21, 2024

  • Only do "refreshCachedUserAccess" to update access when user login.
  • Refactor on AuthService.ts to migrate user related content to FamLoginUserState.ts
  • Quick addition on showing user access levels on ProfileSideBar.
  • Read "applicationsUserAdministers" from cached FamLoginUserState for display on ManagePermission page.
  • Read "applicationOptions" from cached FamLoginUserState for display on GrantApplicationAdmin page.
  • Remove "fetchApplications" from route and from "fetchData", no need anymore.

@ianliuwk1019 ianliuwk1019 marked this pull request as ready for review February 22, 2024 20:00
@MCatherine1994
Copy link
Contributor

Thanks Ian! Looks great! Just some small comment for simplify and clarification. Also maybe Nick @NickSaglioni if you want to check on this pr, Ian is getting the application options inside the component now instead of preparing it in the router handler, just regarding of your question this morning. Thanks so much!

Copy link

sonarcloud bot commented Feb 23, 2024

Quality Gate Passed Quality Gate passed for 'nr-forests-access-management_admin'

Issues
0 New issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@ianliuwk1019 ianliuwk1019 merged commit ac55350 into main Feb 23, 2024
9 of 10 checks passed
@ianliuwk1019 ianliuwk1019 deleted the feat/1145-use-cached-access-for-applications-list branch February 23, 2024 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants