exceptionfactory commented on code in PR #11179:
URL: https://github.com/apache/nifi/pull/11179#discussion_r3165710757


##########
nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/java/org/apache/nifi/web/api/ControllerResource.java:
##########
@@ -1252,7 +1253,9 @@ public Response analyzeFlowAnalysisRuleConfiguration(
                     "issuing a GET request to 
/flow-analysis-rules/{taskId}/verification-requests/{requestId}. Once the 
request is completed, the client is expected to issue a DELETE request to " +
                     
"/flow-analysis-rules/{serviceId}/verification-requests/{requestId}.",
             security = {
-                    @SecurityRequirement(name = "Read - 
/flow-analysis-rules/{uuid}")
+                    @SecurityRequirement(name = "Write - /controller"),
+                    @SecurityRequirement(name = "Write - 
/flow-analysis-rules/{uuid}"),

Review Comment:
   I was thinking along the same lines, Controller enforcement should work as 
the parent Authorizable in this case.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to