From 9915fba91cbf05a6e7e900f4763761928bb58111 Mon Sep 17 00:00:00 2001 From: Suman Das <59254445+sumandas0@users.noreply.github.com> Date: Wed, 24 Jul 2024 19:24:04 +0530 Subject: [PATCH] fix: add glossary key --- .../apache/atlas/repository/store/aliasstore/ESAliasStore.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repository/src/main/java/org/apache/atlas/repository/store/aliasstore/ESAliasStore.java b/repository/src/main/java/org/apache/atlas/repository/store/aliasstore/ESAliasStore.java index b158ebf90d..2990bc1505 100644 --- a/repository/src/main/java/org/apache/atlas/repository/store/aliasstore/ESAliasStore.java +++ b/repository/src/main/java/org/apache/atlas/repository/store/aliasstore/ESAliasStore.java @@ -211,7 +211,7 @@ private void personaPolicyToESDslClauses(List policies, } else if (getPolicyActions(policy).contains(ACCESS_READ_PERSONA_GLOSSARY)) { if (CollectionUtils.isNotEmpty(assets)) { terms.addAll(assets); - allowClauseList.add(mapOf("terms", mapOf(QUALIFIED_NAME, assets))); + allowClauseList.add(mapOf("terms", mapOf(GLOSSARY_PROPERTY_KEY, assets))); } } else if (getPolicyActions(policy).contains(ACCESS_READ_PERSONA_DOMAIN)) { for (String asset : assets) {