This is an automated email from the ASF dual-hosted git repository.
tpalfy pushed a commit to branch support/nifi-1.x
in repository https://gitbox.apache.org/repos/asf/nifi.git
The following commit(s) were added to refs/heads/support/nifi-1.x by this push:
new 5fbfb0eaf1 NIFI-12741 - Remove write permission requirement for the
referenced controller service when changing component property referencing a
controller service through parameter
5fbfb0eaf1 is described below
commit 5fbfb0eaf14f14ed106dcbf9a8464c4bf41cee82
Author: David Szabo <[email protected]>
AuthorDate: Fri Jul 19 10:55:56 2024 +0200
NIFI-12741 - Remove write permission requirement for the referenced
controller service when changing component property referencing a controller
service through parameter
This closes #9093.
Signed-off-by: Tamas Palfy <[email protected]>
---
.../apache/nifi/authorization/AuthorizeControllerServiceReference.java | 1 -
1 file changed, 1 deletion(-)
diff --git
a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/java/org/apache/nifi/authorization/AuthorizeControllerServiceReference.java
b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/java/org/apache/nifi/authorization/AuthorizeControllerServiceReference.java
index c4ba20e61d..71015ba9c3 100644
---
a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/java/org/apache/nifi/authorization/AuthorizeControllerServiceReference.java
+++
b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/java/org/apache/nifi/authorization/AuthorizeControllerServiceReference.java
@@ -162,7 +162,6 @@ public final class AuthorizeControllerServiceReference {
Authorizable serviceAuthorizable = service.getAuthorizable();
serviceAuthorizable.authorize(authorizer, RequestAction.READ,
user);
- serviceAuthorizable.authorize(authorizer, RequestAction.WRITE,
user);
});
}
}