From c78f7e1e64c866e0fddb47d1f962006556a74dad Mon Sep 17 00:00:00 2001 From: Nikhil P Bonte Date: Fri, 5 Jan 2024 13:28:10 +0530 Subject: [PATCH] Logging --- .../main/java/org/apache/atlas/authorizer/ListAuthorizer.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/repository/src/main/java/org/apache/atlas/authorizer/ListAuthorizer.java b/repository/src/main/java/org/apache/atlas/authorizer/ListAuthorizer.java index b2e4875efc..b5123c6a80 100644 --- a/repository/src/main/java/org/apache/atlas/authorizer/ListAuthorizer.java +++ b/repository/src/main/java/org/apache/atlas/authorizer/ListAuthorizer.java @@ -45,6 +45,8 @@ public static Map getElasticsearchDSLForPolicyType(String person List abacPolicies = PoliciesStore.getRelevantPolicies(persona, purpose, "atlas_abac", actions, policyType); List> abacPoliciesClauses = getDSLForAbacPolicies(abacPolicies); + LOG.info("Applicable policies to user {}", resourcePolicies.size() + tagPolicies.size() + abacPolicies.size()); + List> shouldClauses = new ArrayList<>(); shouldClauses.addAll(resourcePoliciesClauses); if (tagPoliciesClause != null) {