pvillard31 commented on code in PR #10871:
URL: https://github.com/apache/nifi/pull/10871#discussion_r2779664900
##########
nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/java/org/apache/nifi/web/StandardNiFiWebConfigurationContext.java:
##########
@@ -609,11 +606,7 @@ public ComponentDetails updateComponent(final
NiFiWebConfigurationRequestContext
final ComponentAuthorizable authorizable =
lookup.getControllerService(id);
authorizable.getAuthorizable().authorize(authorizer,
RequestAction.WRITE, NiFiUserUtils.getNiFiUser());
- // authorize any referenced service
-
AuthorizeControllerServiceReference.authorizeControllerServiceReferences(properties,
authorizable, authorizer, lookup);
-
- // authorize any parameter references
-
AuthorizeParameterReference.authorizeParameterReferences(properties,
authorizer, authorizable.getParameterContext(), user);
+
AuthorizeComponentReference.authorizeComponentConfiguration(authorizer, lookup,
authorizable, properties, null);
Review Comment:
Is the `null` on purpose here? Shouldn't it be
`authorizable.getParameterContext()`?
--
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]