You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ranger.apache.org by ra...@apache.org on 2026/05/26 12:13:28 UTC

(ranger) 02/02: RANGER-5614:Role creation/updation takes more time when there are more users,groups,roles

This is an automated email from the ASF dual-hosted git repository.

ramackri pushed a commit to branch RANGER-5614-patch
in repository https://gitbox.apache.org/repos/asf/ranger.git

commit 7e946b457fa7ec404682ad18649990539d9f2672
Author: ramk <ra...@cloudera.com>
AuthorDate: Tue May 26 17:40:35 2026 +0530

    RANGER-5614:Role creation/updation takes more time when there are more users,groups,roles
---
 .../src/main/java/org/apache/ranger/plugin/store/RoleStore.java       | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/agents-common/src/main/java/org/apache/ranger/plugin/store/RoleStore.java b/agents-common/src/main/java/org/apache/ranger/plugin/store/RoleStore.java
index f0942e509..7f65c3179 100644
--- a/agents-common/src/main/java/org/apache/ranger/plugin/store/RoleStore.java
+++ b/agents-common/src/main/java/org/apache/ranger/plugin/store/RoleStore.java
@@ -28,9 +28,9 @@
 public interface RoleStore {
     void init() throws Exception;
 
-    RangerRole createRole(RangerRole role, Boolean createNonExistUserGroup) throws Exception;
+    RangerRole createRole(RangerRole role, Boolean createNonExistUserGroup, Boolean isRefTableCleanupRequired) throws Exception;
 
-    RangerRole updateRole(RangerRole role, Boolean createNonExistUserGroup) throws Exception;
+    RangerRole updateRole(RangerRole role, Boolean createNonExistUserGroup, Boolean isRefTableCleanupRequired) throws Exception;
 
     void deleteRole(String roleName) throws Exception;