Skip to content

Commit

Permalink
Merge pull request #6172 from davidwatkins73/waltz-6171-flow-bug
Browse files Browse the repository at this point in the history
Fixing incorrect role
  • Loading branch information
jessica-woodland-scott-db authored Jul 28, 2022
2 parents 4bc5b08 + 163f679 commit dc60e79
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ public void register() {


private Collection<DataTypeDecorator> updateDecoratorsBatchRoute(Request request, Response response) throws IOException {
requireRole(userRoleService, request, SystemRole.LOGICAL_DATA_FLOW_EDITOR);
requireRole(userRoleService, request, SystemRole.BULK_FLOW_EDITOR);

String user = getUsername(request);
List<UpdateDataFlowDecoratorsAction> actions = Arrays.asList(readBody(request, UpdateDataFlowDecoratorsAction[].class));
Expand Down

0 comments on commit dc60e79

Please sign in to comment.