[pull] main from permitio:main#18
Merged
pull[bot] merged 1 commit intoalexstojda:mainfrom Nov 9, 2025
Merged
Conversation
* Add Trino authorization row filter functionality - 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. * Add column masking functionality for Trino authorization - 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. * Update row filter expression formatting in Trino authorization - 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. * Log warning when unauthenticated Trino routes are enabled
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by
pull[bot] (v2.0.0-alpha.4)
Can you help keep this open source service alive? 💖 Please sponsor : )