-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
There exists a concept of ownership in Trino, embodied in the ALTER (SCHEMA|TABLE|VIEW) SET AUTHORIZATION command. The ownership of an entity is used in access control for authorization; this is most important with views that are SECURITY DEFINER, because for them the access checks are done for the view owner, not for the query invoker. So this is quite an important piece of information for someone designing data governance structure, but there is no way to see who the owner is once the entity is created.
Possible ideas:
SHOW CREATE (SCHEMA|TABLE|VIEW): does not seem right because its output is a syntactically (and semantically) validCREATEstatement, and currently there is no way to assign the owner at the time of creation.- Simply add an
ownercolumn ininformation_schematables as needed, and the correspondingSHOWcommand(s)
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request