Skip to content

[pull] main from permitio:main#18

Merged
pull[bot] merged 1 commit intoalexstojda:mainfrom
permitio:main
Nov 9, 2025
Merged

[pull] main from permitio:main#18
pull[bot] merged 1 commit intoalexstojda:mainfrom
permitio:main

Conversation

@pull
Copy link

@pull pull bot commented Nov 9, 2025

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 : )

* 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
@pull pull bot locked and limited conversation to collaborators Nov 9, 2025
@pull pull bot added the ⤵️ pull label Nov 9, 2025
@pull pull bot merged commit 4998b68 into alexstojda:main Nov 9, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant