This is an automated email from the ASF dual-hosted git repository.
tpalfy pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi.git
The following commit(s) were added to refs/heads/main by this push:
new 2542927b53 NIFI-12741 - Remove write permission requirement for the
referenced controller service when changing component property referencing a
controller service through parameter
2542927b53 is described below
commit 2542927b531729786230e688abfc3ed70cede78f
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-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/java/org/apache/nifi/authorization/AuthorizeControllerServiceReference.java
b/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-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/java/org/apache/nifi/authorization/AuthorizeControllerServiceReference.java
+++
b/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);
});
}
}