forked from TrueCloudLab/frostfs-s3-gw
[#553] Add more comments about eacl.RoleUnknown
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
parent
06d043e1eb
commit
a57b8d34d3
2 changed files with 3 additions and 0 deletions
|
@ -808,6 +808,7 @@ func formRecords(operations []*astOperation, resource *astResource) ([]*eacl.Rec
|
|||
}
|
||||
targetKeys = append(targetKeys, (ecdsa.PublicKey)(*pk))
|
||||
}
|
||||
// Unknown role is used, because it is ignored when keys are set
|
||||
eacl.AddFormedTarget(record, eacl.RoleUnknown, targetKeys...)
|
||||
}
|
||||
if len(resource.Object) != 0 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue