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

HELLODATA-1239 - disable logout button #33

Merged
merged 2 commits into from
Feb 8, 2024

Conversation

wieczorslawo
Copy link
Contributor

No description provided.

Copy link
Contributor

@ramich ramich 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 to me, only just one comment to consider

}
userRepository.save(userEntity);
}

private void setRoleToAllRemainingDataDomains(UpdateContextRolesForUserDto updateContextRolesForUserDto, UserEntity userEntity, HdRoleName roleNameToSet) {
private void setRoleToAllRemainingDataDomainsToNone(UpdateContextRolesForUserDto updateContextRolesForUserDto, UserEntity userEntity) {
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't really understand this method name, I think because it has 2x a 'To' inside it.
Would setRoleForAllRemainingDataDomainsToNone maybe be ok?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

you are right, I'll fix it - it was just a warning from intellij about redundant method param

@wieczorslawo wieczorslawo merged commit 0f7c199 into develop Feb 8, 2024
1 check passed
@wieczorslawo wieczorslawo deleted the feature/HELLODATA-1239_disable_logout_button branch February 8, 2024 09:42
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