Github user mcgilman commented on a diff in the pull request: https://github.com/apache/nifi/pull/755#discussion_r73401344 --- Diff: nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/java/org/apache/nifi/web/api/ProcessGroupResource.java --- @@ -1470,42 +1437,41 @@ public Response getRemoteProcessGroups( * Creates a new connection. * * @param httpServletRequest request - * @param groupId The group id - * @param connectionEntity A connectionEntity. + * @param groupId The group id + * @param connectionEntity A connectionEntity. * @return A connectionEntity. */ @POST @Consumes(MediaType.APPLICATION_JSON) @Produces(MediaType.APPLICATION_JSON) @Path("{id}/connections") - // TODO - @PreAuthorize("hasRole('ROLE_DFM')") @ApiOperation( - value = "Creates a connection", - response = ConnectionEntity.class, - authorizations = { - @Authorization(value = "Data Flow Manager", type = "ROLE_DFM") - } + value = "Creates a connection", + response = ConnectionEntity.class, + authorizations = { + @Authorization(value = "Write - /process-groups/{uuid}", type = "") --- End diff -- Yep, good call.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---