Sadra created RANGER-5889:
-----------------------------
Summary: Trino tag-based column grants do not authorize SELECT
COUNT(*) (empty column resource); table-level tags over-grant via ANCESTOR
Key: RANGER-5889
URL: https://issues.apache.org/jira/browse/RANGER-5889
Project: Ranger
Issue Type: Bug
Components: plugins, tagsync
Reporter: Sadra
{{### Technical Context}}
{{The issue involves the interaction between Trino's}}
{{resource-based access requests and Ranger's hierarchical}}
{{tag-matching behavior.}}
{{On the Trino plugin side:}}
{{- [Relevant class/method]: Responsible for constructing}}
{{ the access request and determining the resource scope.}}
{{- [Relevant class/method]: Handles authorization checks}}
{{ for column-level SELECT operations.}}
{{On the Ranger side:}}
{{- [Relevant class/method]: Responsible for tag enrichment}}
{{ and hierarchical resource matching.}}
{{The key distinction is that an empty-column access request}}
{{targets the table resource, while column-level requests}}
{{target individual column resources. This changes how}}
{{hierarchical tag matching is evaluated.}}
[https://github.com/apache/ranger/blob/master/agents-common/src/main/java/org/apache/ranger/plugin/contextenricher/RangerTagEnricher.java]
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)