[#271] acl: Add permission to get objects for inner ring

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
Alex Vanin 2020-12-23 11:46:59 +03:00 committed by Alex Vanin
parent 782bcadd92
commit af7ae0ec4c

View file

@ -125,7 +125,7 @@ func (a basicACLHelper) SystemAllowed(op eacl.Operation) bool {
// InnerRing nodes, as part of System group.
func (a basicACLHelper) InnerRingAllowed(op eacl.Operation) bool {
switch op {
case eacl.OperationSearch, eacl.OperationRangeHash, eacl.OperationHead:
case eacl.OperationSearch, eacl.OperationRangeHash, eacl.OperationHead, eacl.OperationGet:
return true
default:
if n, ok := order[op]; ok {