trino
                                
                                 trino copied to clipboard
                                
                                    trino copied to clipboard
                            
                            
                            
                        Only check access control on underlying MV tables on refresh
Description
This change only checks access control of queries which support a materialized view when running a refresh. The actual refresh permissions check is unaffected. Before this change, permissions on the underlying MV query were always checked, even on a SELECT. More details can be found in https://github.com/trinodb/trino/issues/23747
Additional context and related issues
https://github.com/trinodb/trino/issues/23747
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:
## Section
* Only check permissions of underlying MV query on MV refresh. ({issue}`23747`)