Skip to content
This repository was archived by the owner on Feb 26, 2021. It is now read-only.

Commit e0587df

Browse files
committed
Add missing permissions to ci group
Missing permission were preventing the default group from creating new securityTest since the camunda permissions were enforced on every rest api call.
1 parent 9d6a2ae commit e0587df

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

scb-engine/src/main/java/io/securecodebox/engine/helper/DefaultGroupConfiguration.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,13 +75,13 @@ public void postProcessEngineBuild(final ProcessEngine processEngine) {
7575
processEngine.getAuthorizationService(),
7676
GROUP_CI,
7777
Resources.PROCESS_DEFINITION,
78-
Permissions.CREATE_INSTANCE
78+
Permissions.CREATE_INSTANCE, Permissions.READ, Permissions.READ_HISTORY
7979
);
8080
createAuthorizationForGroup(
8181
processEngine.getAuthorizationService(),
8282
GROUP_CI,
8383
Resources.PROCESS_INSTANCE,
84-
Permissions.READ
84+
Permissions.READ, Permissions.CREATE
8585
);
8686
}
8787

0 commit comments

Comments
 (0)