rameeshm commented on code in PR #528: URL: https://github.com/apache/ranger/pull/528#discussion_r1945970813
########## security-admin/src/main/java/org/apache/ranger/rest/GdsREST.java: ########## @@ -2134,7 +2134,7 @@ private RangerPolicyItem transformGrantToPolicyItem(RangerGrant grant) { } if (CollectionUtils.isNotEmpty(conditions)) { - policyItem.setConditions(conditions.stream().map(condition -> new RangerPolicyItemCondition(GDS_POLICY_EXPR_CONDITION, Collections.singletonList(condition))).collect(Collectors.toList())); + policyItem.setConditions(conditions.stream().map(condition -> new RangerPolicyItemCondition(GDS_POLICY_VALIDITY_SCHEDULE_CONDITION, Collections.singletonList(condition))).collect(Collectors.toList())); Review Comment: @mneethiraj I have update the patch with review comments addressed. Thanks. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@ranger.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org