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

Refactor AllocationsController #143

Closed
ylyangtw opened this issue Jun 8, 2023 · 1 comment · Fixed by #150
Closed

Refactor AllocationsController #143

ylyangtw opened this issue Jun 8, 2023 · 1 comment · Fixed by #150
Assignees
Milestone

Comments

@ylyangtw
Copy link
Contributor

ylyangtw commented Jun 8, 2023

  1. "x-auth-userinfo" and "x-auth-usergroup" are global in most of controllers but AllocationsController use them in each function locally. Need to be refactored to be consistent with other controllers.
  2. JsonUtils.isLoggedInUserAdmin(userGroup) need to be replaced with the updated authorizer (118 refactoring methods in ldapclient and authorizer )
  3. Other controllers may have this issue. Please check them as well.
@ylyangtw ylyangtw self-assigned this Jun 8, 2023
@ylyangtw
Copy link
Contributor Author

UsageController requires refactoring as well

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 a pull request may close this issue.

2 participants