Skip to content

Commit

Permalink
[apache#5336]feat(auth-ranger): Remove MANAGED_BY_GRAVITINO limit and…
Browse files Browse the repository at this point in the history
… compatible for existing ranger policy
  • Loading branch information
theoryxu committed Nov 25, 2024
1 parent ddcd2c4 commit 81a5533
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,9 @@ public RangerHelper(
}

/**
* For easy management, each privilege will create one RangerPolicyItemAccess in the policy.
* There are two types of policy items:
* Gravitino managed policy items: They contain one privilege each.
* User-defined policy items: They could contain multiple privileges and not be managed and checked by Gravitino.
*
* @param policyItem The policy item to check
* @throws AuthorizationPluginException If the policy item contains more than one access type
Expand Down

0 comments on commit 81a5533

Please sign in to comment.