You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by tp...@apache.org on 2024/07/31 15:27:09 UTC

(nifi) branch main updated: NIFI-12741 - Remove write permission requirement for the referenced controller service when changing component property referencing a controller service through parameter

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 <da...@gmail.com>
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 <tp...@apache.org>
---
 .../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);
         });
     }
 }