Skip to content

Commit

Permalink
Merge pull request #4501 from NCI-Agency/AB-967-fix-anet-init
Browse files Browse the repository at this point in the history
Add missing initialization of position role to init command
  • Loading branch information
gjvoosten authored Oct 5, 2023
2 parents 70d9cda + aa43728 commit 26dc10a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/mil/dds/anet/InitializationCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ protected void run(Environment environment, Namespace namespace, AnetConfigurati
adminPos.setOrganizationUuid(adminOrg.getUuid());
adminPos.setName(namespace.getString("adminPosName"));
adminPos.setStatus(Position.Status.ACTIVE);
adminPos.setRole(Position.PositionRole.MEMBER);
adminPos = engine.getPositionDao().insert(adminPos);

// Create admin user
Expand Down

0 comments on commit 26dc10a

Please sign in to comment.