Skip to content

Conversation

@danyi1212
Copy link
Contributor

  • Introduced a new configuration file for Trino authorization, allowing row-level security filters to be defined for various tables.
  • Implemented the loading of Trino authorization configurations from a YAML file.
  • Added a new API endpoint for handling row filter requests, enabling dynamic filtering based on user permissions.
  • Updated the application state to include Trino authorization configuration and integrated it into the existing request handling logic.
  • Enhanced test coverage for the new row filter functionality, ensuring proper handling of various user permissions and configurations.

This commit significantly improves the PDP server's capability to enforce row-level security in Trino, enhancing data access control based on user roles and attributes.

@danyi1212 danyi1212 requested a review from omer9564 November 4, 2025 01:15
@danyi1212 danyi1212 self-assigned this Nov 4, 2025
Base automatically changed from dan/per-12706-pdp-release-trino-integration to main November 6, 2025 15:47
- Introduced a new configuration file for Trino authorization, allowing row-level security filters to be defined for various tables.
- Implemented the loading of Trino authorization configurations from a YAML file.
- Added a new API endpoint for handling row filter requests, enabling dynamic filtering based on user permissions.
- Updated the application state to include Trino authorization configuration and integrated it into the existing request handling logic.
- Enhanced test coverage for the new row filter functionality, ensuring proper handling of various user permissions and configurations.

This commit significantly improves the PDP server's capability to enforce row-level security in Trino, enhancing data access control based on user roles and attributes.
- Introduced a new configuration for column masking in Trino, allowing sensitive data to be masked based on user permissions.
- Implemented a new API endpoint at `/trino/batch-column-masking` to handle column mask requests.
- Enhanced the Trino authorization configuration to include column masks, with support for multiple columns and custom actions.
- Updated the application state and routing to integrate the new column masking functionality.
- Improved test coverage for column masking, ensuring proper handling of various user permissions and configurations.

This commit significantly enhances the PDP server's ability to enforce data privacy by masking sensitive information based on user roles and attributes.
- Modified the row filter expression construction to wrap each expression in parentheses for improved clarity and consistency.
- This change enhances the readability of the generated query strings used in authorization checks.

This commit refines the handling of row filter expressions, contributing to better structured queries in the PDP server's Trino integration.
@danyi1212 danyi1212 force-pushed the dan/per-13145-pdp-add-row-level-filtering-via-trino-integration branch from 05a9fb5 to 1aa353f Compare November 6, 2025 15:49
@danyi1212 danyi1212 merged commit 4998b68 into main Nov 9, 2025
5 checks passed
@danyi1212 danyi1212 deleted the dan/per-13145-pdp-add-row-level-filtering-via-trino-integration branch November 9, 2025 18:28
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.

3 participants