Catalog: Allow SQLQuery from restricted environment