Description
The algorithm to build Ranger policy database object from the Ranger policy view object leaves some fields (guid, policy-type, etc.) un-initialized during policy creation. Values of all fields whose values are known when database policy object was created need to be initialized so that the policy_text field-value can be used to recreate the original policy.