Skip to content

RANGER-5539: Add Authorisation Check for doAsUser Parameter#956

Open
ChinmayHegde24 wants to merge 2 commits into
apache:ranger-2.9from
ChinmayHegde24:RANGER-5539-290
Open

RANGER-5539: Add Authorisation Check for doAsUser Parameter#956
ChinmayHegde24 wants to merge 2 commits into
apache:ranger-2.9from
ChinmayHegde24:RANGER-5539-290

Conversation

@ChinmayHegde24
Copy link
Copy Markdown
Contributor

@ChinmayHegde24 ChinmayHegde24 commented May 19, 2026

Currently RangerJwtAuthHandler accepts the doAsUser value directly from the incoming request and uses it to establish the authenticated user identity without performing any validation.
So the user should be validated for impersonation permission on doAsUser parameter.

Also https://issues.apache.org/jira/browse/RANGER-5588 (Remove cookie based JWT authentication from JWT files)
This is handled here as part of another commit

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