【发布时间】:2018-03-05 18:47:39
【问题描述】:
假设我有:
- 一个 Google Cloud Storage 存储桶
bucketxyz和两个用户组:group1和group2; - 额外的第三组
allusers,包括group1和group2中的所有用户。
然后:
-
bucketxyz的 IAM 策略授予对allusers的只读访问权限和读/写(但没有所有权,以避免文件删除)@987654329 @。
考虑bucketxyz 的两个文件:file_shared.txt 和file_resticted.txt 以及这两种情况:
-
file_shared.txt可以由group1中的某人写,但也group2中的用户可以访问 - 只需使用上述 IAM 策略即可。 -
file_restricted.txt只能由group1中的用户编写和访问。
是否可以通过在bucketxyz 中为file_restricted.txt 使用专用ACL 规则 来实现场景#2?如果是,如何?
【问题讨论】:
标签: google-cloud-platform google-cloud-storage google-cloud-iam