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

后端 未结 4 1683
心在旅途
心在旅途 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:42

    This is a normal behavior. Only the object owner/superuser have permission to use the object by default.

    http://docs.aws.amazon.com/redshift/latest/dg/r_Privileges.html

    You can add grant command to your create table statement and grant needed privileges for the user.

提交回复
热议问题