Skip to content

Conversation

Sanket-Shelar
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant