Skip to content

admin management - #75

Open
jvmdev4 wants to merge 7 commits into
masterfrom
ft/admin-management
Open

admin management#75
jvmdev4 wants to merge 7 commits into
masterfrom
ft/admin-management

Conversation

@jvmdev4

@jvmdev4 jvmdev4 commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

No description provided.

# Conflicts:
#	pom.xml
#	src/main/java/dev/vality/orgmanager/repository/OrganizationRepository.java
@jvmdev4
jvmdev4 requested a review from a team as a code owner August 27, 2026 09:35

private final String value;

StoredInviteeContactType(String value) {

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

почему не ломбок?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

переделал

.orElseThrow(MemberNotFound::new);
}

private MemberRoleEntity toMemberRoleEntity(

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

класс на 400 строк мб чето развести?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

переделал

Comment thread pom.xml Outdated

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Давай damsel тоже до актуальной версии бампнем

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

бамп

}

private boolean isActive(OrganizationEntity organization) {
return organization.getStatus() == null

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

В миграции ведь добавили явное проставление статуса по дефолту, разве тут оно не применится? Т.е. будет active приходить.
И ветка с "не deactivated" может стрельнуть, если добавим однажды какой-то третий статус, а тут обработчик будет возвращать true.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

согласен

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