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

[CLOUDTRUST-2426] Fix Validate authorization #201

Merged
merged 2 commits into from
Mar 23, 2020

Conversation

harture
Copy link
Contributor

@harture harture commented Mar 16, 2020

No description provided.

@harture harture requested a review from fperot74 March 16, 2020 15:43
@@ -95,9 +95,8 @@ func (c *authorizationComponentMW) GetUser(ctx context.Context, userID string) (
func (c *authorizationComponentMW) ValidateUser(ctx context.Context, userID string, user apikyc.UserRepresentation) error {
var action = KYCValidateUser.String()
var targetRealm = c.realmName
var groupID = RegistrationOfficer
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Constant RegistrationOfficer can be removed

@coveralls
Copy link

coveralls commented Mar 16, 2020

Pull Request Test Coverage Report for Build 1967

  • 1 of 1 (100.0%) changed or added relevant line in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.001%) to 92.094%

Totals Coverage Status
Change from base Build 1959: -0.001%
Covered Lines: 5382
Relevant Lines: 5844

💛 - Coveralls

@harture harture merged commit 6f87bfa into master Mar 23, 2020
@fperot74 fperot74 deleted the CLOUDTRUST-2426_fixAuthz branch January 6, 2021 13:07
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.

3 participants