From 3a121a835d88e662a63495db5d3570b8e9c77512 Mon Sep 17 00:00:00 2001 From: Sanket-Shelar Date: Tue, 29 Aug 2023 16:24:13 +0530 Subject: [PATCH] RANGER-4290: Adding uiHint attribute in policy condition Signed-off-by: Mehul Parikh --- .../org/apache/ranger/service/RangerServiceDefServiceBase.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/security-admin/src/main/java/org/apache/ranger/service/RangerServiceDefServiceBase.java b/security-admin/src/main/java/org/apache/ranger/service/RangerServiceDefServiceBase.java index 91d5f26bc8..dcbfbfdc2c 100644 --- a/security-admin/src/main/java/org/apache/ranger/service/RangerServiceDefServiceBase.java +++ b/security-admin/src/main/java/org/apache/ranger/service/RangerServiceDefServiceBase.java @@ -755,7 +755,7 @@ boolean addImplicitConditionExpressionIfNeeded(RangerServiceDef serviceDef) { conditionDef.setDescription(IMPLICIT_CONDITION_EXPRESSION_DESC); conditionDef.setEvaluator(IMPLICIT_CONDITION_EXPRESSION_EVALUATOR); conditionDef.setEvaluatorOptions(options); - + conditionDef.setUiHint("{ \"isMultiline\":true }"); conditionDefs.add(conditionDef); serviceDef.setPolicyConditions(conditionDefs);