Amazon Redshift Grants - New table can't be accessed even though user has grants to all tables in schema

后端 未结 4 1693
心在旅途
心在旅途 2021-02-02 12:13

I have a bit of a funny situation in Amazon Redshift where I have a user X who has grant select on all tables in schema public, but once a new table is created, this grant doesn

4条回答
  •  醉酒成梦
    2021-02-02 12:49

    When we first spotted new tables not appearing in our reporting tool, I discovered a quick workaround is to re-execute the following SQL statement for the groups/users impacted:

    ALTER DEFAULT PRIVILEGES IN SCHEMA  GRANT SELECT ON TABLES TO GROUP ;
    

提交回复
热议问题