【问题标题】:Redshift access denied automatically in REDSHIFT在 REDSHIFT 中自动拒绝 Redshift 访问
【发布时间】:2020-04-27 17:26:57
【问题描述】:

grant usage on schema apps to group group_name;

grant SELECT ON ALL TABLES IN schema apps to group group_name;

alter default privileges in schema apps grant select on tables to group group_name;

给予群组访问权限的评论

我在 redshift 中创建了用户或组。最初,他们有权访问这些表。当表重新创建时,访问会自动被拒绝。谁能帮忙解决这个问题?

【问题讨论】:

    标签: amazon-redshift aginity


    【解决方案1】:

    希望能帮上忙。用户需要设置默认 ACL,该 ACL 为用户创建的所有表提供一组授权。见:

    https://docs.aws.amazon.com/redshift/latest/dg/r_ALTER_DEFAULT_PRIVILEGES.html

    对象的创建者需要授权给其他人,但这可以通过设置他们的默认权限自动完成。

    希望对你有帮助

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2016-07-23
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2022-01-16
      • 1970-01-01
      • 2019-02-17
      相关资源
      最近更新 更多