Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
zddr committed Oct 8, 2024
1 parent 9d8feaf commit ea7e63a
Show file tree
Hide file tree
Showing 8 changed files with 4 additions and 501 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,10 @@ public List<? extends RowFilterPolicy> evalRowFilterPolicies(UserIdentity curren
String tbl) {
RangerAccessResourceImpl resource = createResource(ctl, db, tbl);
RangerAccessRequestImpl request = createRequest(currentUser);
// If the access type is not set here, it defaults to ANY1 ACCESS.
// The internal logic of the ranger is to traverse all permission items.
// Since the ranger UI will set the access type to 'SELECT',
// we will keep it consistent with the UI here to avoid performance issues
request.setAccessType(DorisAccessType.SELECT.name());
request.setResource(resource);

Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit ea7e63a

Please sign in to comment.