Skip to content

RANGER-5598:RangerHiveAuthorizer showprivileges should consider principal expiry condition in the GDS grants#947

Open
rameeshm wants to merge 1 commit into
masterfrom
RANGER-5598-patch
Open

RANGER-5598:RangerHiveAuthorizer showprivileges should consider principal expiry condition in the GDS grants#947
rameeshm wants to merge 1 commit into
masterfrom
RANGER-5598-patch

Conversation

@rameeshm
Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

RangerHiveAuthorizer showprivileges should consider principal expiry condition in the GDS grants. Currently the showprivileges fetches the ACLs and filters the permission for principal and in this case expiry condition provided in the GDS policies are skipped resulting in wrong permission list shown.

How was this patch tested?

Tested in local vm for the showprivilege and unit test.

Copy link
Copy Markdown
Contributor

@dineshkumar-yadav dineshkumar-yadav left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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.

2 participants