Supposing I have:
bucketxyz
;group1
and group2
;allusers
that includes all the users among group1
and group2
;bucketxyz
that grants read only access to allusers
and read/write (but no ownership, to avoid files deletion) to group1
.Now, consider two files for bucketxyz
: file_shared.txt
and file_resticted.txt
and these two scenarios:
file_shared.txt
can be written by someone in group1
but also accessible by users in group2
- Done just by using the IAM policy above.file_restricted.txt
can be written and accessible ONLY by users in group1
.Is it possible to implement the scenario #2 by using dedicated ACL rule for file_restricted.txt
in bucketxyz
? If yes, how?