Skip to content

Commit 5477820

Browse files
committed
corrected save action
1 parent 6e95c47 commit 5477820

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

nifi/stackable/patches/2.4.0/0005-replace-process-groups-root-with-root-ID.patch

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From 775a7fcb5c9828b5b9077c2cccf7f300de65bd45 Mon Sep 17 00:00:00 2001
1+
From 1caea87a7a4806dd0a233cfac2ee2a4dc7994dd7 Mon Sep 17 00:00:00 2001
22
From: Andrew Kenworthy <andrew.kenworthy@stackable.tech>
33
Date: Fri, 10 Oct 2025 15:28:56 +0200
44
Subject: replace process groups root with root ID
@@ -28,7 +28,7 @@ index 0000000000..3039c97497
2828
+ void onRootGroupLoaded();
2929
+}
3030
diff --git a/nifi-framework-bundle/nifi-framework/nifi-file-authorizer/src/main/java/org/apache/nifi/authorization/FileAccessPolicyProvider.java b/nifi-framework-bundle/nifi-framework/nifi-file-authorizer/src/main/java/org/apache/nifi/authorization/FileAccessPolicyProvider.java
31-
index 5363bb5619..17b3f3929d 100644
31+
index 5363bb5619..5ed48a5af9 100644
3232
--- a/nifi-framework-bundle/nifi-framework/nifi-file-authorizer/src/main/java/org/apache/nifi/authorization/FileAccessPolicyProvider.java
3333
+++ b/nifi-framework-bundle/nifi-framework/nifi-file-authorizer/src/main/java/org/apache/nifi/authorization/FileAccessPolicyProvider.java
3434
@@ -29,6 +29,7 @@ import org.apache.nifi.authorization.resource.ResourceType;
@@ -77,7 +77,7 @@ index 5363bb5619..17b3f3929d 100644
7777
+ }
7878
+ }
7979
+ if (authorizationsChanged) {
80-
+ saveAuthorizations(authorizations);
80+
+ saveAndRefreshHolder(authorizations);
8181
+ }
8282
+ } else {
8383
+ // this is not expected as this is called from the flow service

0 commit comments

Comments
 (0)