SEBSERV-344
This commit is contained in:
parent
c26f8da944
commit
a761ade1aa
1 changed files with 4 additions and 0 deletions
|
@ -286,6 +286,10 @@ public class UserAccountForm implements TemplateComposer {
|
|||
.ignoreMoveAwayFromEdit()
|
||||
.publishIf(() -> !readonly)
|
||||
|
||||
.newAction(ActionDefinition.USER_ACCOUNT_CHANGE_PASSWORD)
|
||||
.withEntityKey(entityKey)
|
||||
.publishIf(() -> modifyGrant && !readonly && institutionActive && userAccount.isActive())
|
||||
|
||||
.newAction(ActionDefinition.USER_ACCOUNT_SAVE_AND_ACTIVATE)
|
||||
.withEntityKey(entityKey)
|
||||
.withExec(formHandle::saveAndActivate)
|
||||
|
|
Loading…
Reference in a new issue