ranger
ranger copied to clipboard
RANGER-4714: Issue with delegate admin and with grant option policy
What changes were proposed in this pull request?
With this change for grant without specifying 'with grant option', ranger policy should will be edited if delegate admin is already set on existing policyitem for other access, and new policy item will be created.
How was this patch tested?
Tested when grant for update permission for a user while policy had already had select permission for the same user then a new policy item will be created. After that when we run another grant for update permission 'with grant option' then the 2 policy items present will be merged.