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

Userdetails web services refactoring #143

Merged
merged 19 commits into from
Jan 13, 2023

Conversation

yasima-csiro
Copy link
Contributor

No description provided.

…LivingAustralia/userdetails into epic/cognito/webServices

� Conflicts:
�	src/main/groovy/au/org/ala/userdetails/CognitoUserService.groovy
�	src/main/groovy/au/org/ala/userdetails/IUserService.groovy
�	userdetails-gorm/src/main/groovy/au/org/ala/userdetails/gorm/GormUserService.groovy
�	userdetails-plugin/grails-app/controllers/au/org/ala/userdetails/PropertyController.groovy
�	userdetails-plugin/grails-app/controllers/au/org/ala/userdetails/UserDetailsController.groovy
�	userdetails-plugin/grails-app/services/au/org/ala/userdetails/AuthorisedSystemService.groovy
@yasima-csiro
Copy link
Contributor Author

@sbearcsiro , This PR is ready to review.

Copy link
Contributor

@sbearcsiro sbearcsiro left a comment

Choose a reason for hiding this comment

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

Looks good, just needs to address the comments IMHO

}

user.userRoles = userRoles
user.userRoles = rolesForUser(user.userName).collect { new UserRoleRecord(role: it, user: user) }
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this does the same thing as adding the true parameter to cognitoUserTypeToUserRecord? Could we remove this? If so, happy to do this in the other branch.

@sbearcsiro sbearcsiro merged commit b6a9c1f into epic/cognito/develop Jan 13, 2023
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