-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prevent view owner from being set when system security is used #20647
Prevent view owner from being set when system security is used #20647
Conversation
4908d1d
to
3ef8da1
Compare
Did you mean "materialized view"? |
throws IOException | ||
{ | ||
Path rootPath = Files.createTempDirectory("test_iceberg_mv_with_glue"); | ||
TrinoCatalog glueTrinoCatalog = createGlueTrinoCatalog(false, true, new LocalFileSystemFactory(rootPath)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
HDFS_FILE_SYSTEM_FACTORY should work ok for local files, just use file://
url
this will avoid adding TrinoFileSystemFactory
parameter in createTrinoCatalog
overload, keeping things simpler
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
%
/test-with-secrets sha=3ef8da1423497723a0d38d90eeef49727f103c33 |
The CI workflow run with tests that require additional secrets finished as failure: https://github.com/trinodb/trino/actions/runs/7912829622 |
3ef8da1
to
b075e78
Compare
/test-with-secrets sha=b075e781b70d455c037742cc9d5d9f13d9b30d0b |
The CI workflow run with tests that require additional secrets has been started: https://github.com/trinodb/trino/actions/runs/7920785518 |
Description
It is a security hole as user can have broader access to glue than to trino and can leverage this to get access to data he should not access
Additional context and related issues
Release notes
( ) This is not user-visible or is docs only, and no release notes are required.
( ) Release notes are required. Please propose a release note for me.
(x) Release notes are required, with the following suggested text: