Skip to content

Conversation

@mneethiraj
Copy link
Contributor

What changes were proposed in this pull request?

WIP patch: added RangerInitialPolicy in RangerAccessRequest to support policy engine to evaluate inline-policy

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR introduces support for inline policies in the Ranger policy engine by adding a RangerInlinePolicy field to access requests. This enables service-managed ACLs to be evaluated alongside regular Ranger policies.

  • Adds a new RangerInlinePolicy model class with support for ENFORCING and COMPLEMENTARY modes
  • Integrates inline policy support into the access request interface and implementations
  • Provides getter/setter methods for inline policy across all access request classes

Reviewed Changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
RangerInlinePolicy.java New model class defining inline policy structure with Grant inner class
RangerAccessRequest.java Adds default getInlinePolicy() method to the interface
RangerAccessRequestImpl.java Implements inline policy field with getter/setter and toString support
RangerAccessRequestWrapper.java Delegates getInlinePolicy() to wrapped request
RangerAccessRequestReadOnly.java Delegates getInlinePolicy() to source request

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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