Skip to content

RANGER-5610:getResourceACLs for a principal should consider validitySchedule of principal for ACL creation#982

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

RANGER-5610:getResourceACLs for a principal should consider validitySchedule of principal for ACL creation#982
rameeshm wants to merge 1 commit into
masterfrom
RANGER-5610-patch

Conversation

@rameeshm
Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

getResourceACLs for a principal should consider validitySchedule of principal for ACL creation. Currently getResourceACLs returns a set of ACLs for the principal but if the principal is has a validity period which is expired, it is giving the ACLs which are there which is not correct.

This scenario occurs in GDS where a principal validity period is expired and ACL still show the access given, even though there is no access.

Show Privileges in RangerHiveAuthorizer uses the getResourceACLs which also result in wrong permission sets shown when the principal validity period expired.

How was this patch tested?

Tested in local vm + unit test.

@rameeshm rameeshm changed the title RANGER-5610:getResourceACLs for a principal should consider chedule of principal for ACL creation RANGER-5610:getResourceACLs for a principal should consider validitySchedule of principal for ACL creation May 27, 2026
@rameeshm
Copy link
Copy Markdown
Contributor Author

@mneethiraj Could you please review this patch and give your comments.

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