Sanket-Shelar opened a new pull request, #726: URL: https://github.com/apache/ranger/pull/726
…' and 'updated by' fields ## What changes were proposed in this pull request? When grant policy is created **created by** and **updated by** is empty as it is trying to get the details from `ContextUtil.getCurrentUserId()` method which in case of non kerbores environment is giving null. Update the condition to fetch user from database. ## How was this patch tested? Local build. Ran grant command for a table and policy is created with **created by** and **updated by** field populated. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
