As one last follow up, and I apologize for the volume, but this might be related to RDS: our DBs were in a 'Modifying...' state and being backed up, and now something has changed, and we can query these views again. I don't understand. Maybe the underlying tables were temporarily locked during some RDS backup process.
To follow up a bit, it seems clear to me that after I restored to a new server, there's some setting (maybe?) preventing folks from querying objects owned by other users EVEN if they have SELECT perms on the object, and USAGE on the schema. Is this a possibility?
The role has SELECT perm on the view and on the underlying tables and I am received a permission denied table on the table while trying to select from the view. The view is owned by a different user but SELECT perms are very clearly granted to my role.
On Wed, Jun 16, 2021 at 1:58 PM Holger Jakobs <holger@jakobs.com> wrote:
If you want to use a view, you need the permissions for it. Not for the underlying tables