You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are only the following types of permissions to view document configuration, "privileges": [
"SELECT",
"INSERT",
"DELETE",
"UPDATE",
"OWNERSHIP",
"GRANT_SELECT"
]
So how do I determine which one corresponds to CREATE, TRUNCATE, DROP, etc.? Looking at the source code, I found that there is a SystemAccessControl class under the io.trino.spi.security package for control.
But I can't see how to perform permission verification, nor can I see the corresponding relationship between permissions. I am using the hive connector. How can I configure the corresponding permissions to correspond to "privileges": [
"SELECT",
"INSERT",
"DELETE",
"UPDATE",
"OWNERSHIP",
"GRANT_SELECT"
]
This discussion was converted from issue #20098 on December 13, 2023 14:38.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
There are only the following types of permissions to view document configuration, "privileges": [
"SELECT",
"INSERT",
"DELETE",
"UPDATE",
"OWNERSHIP",
"GRANT_SELECT"
]
So how do I determine which one corresponds to CREATE, TRUNCATE, DROP, etc.? Looking at the source code, I found that there is a SystemAccessControl class under the io.trino.spi.security package for control.
But I can't see how to perform permission verification, nor can I see the corresponding relationship between permissions. I am using the hive connector. How can I configure the corresponding permissions to correspond to "privileges": [
"SELECT",
"INSERT",
"DELETE",
"UPDATE",
"OWNERSHIP",
"GRANT_SELECT"
]
Beta Was this translation helpful? Give feedback.
All reactions