rameeshm opened a new pull request, #528:
URL: https://github.com/apache/ranger/pull/528

   DatSet policies fail to authorize when condition expression is present. This 
happens if the  DataSet / Shares is getting created via Grant API 
   
   ## What changes were proposed in this pull request?
   
   Update the condition created via Grant API of GdsREST call to 
"validitySchedule" type. In this way the create condition will be evaluated by 
RangerValidityScheduleConditionEvaluator.
   
   
   ## How was this patch tested?
   Tested in local VM via invoking Grant API with policy condition of 
"conditions":[{"type":"validitySchedule","values":["{\"startTime\":\"1970/01/01 
00:00:00\",\"endTime\":\"2025/03/08 00:35:28\",\"timeZone\":\"UTC\"}"]}]
   


-- 
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

Reply via email to