node: Implement Get\Head requests for EC object #1103

Merged
fyrchik merged 4 commits from acid-ant/frostfs-node:feature/ec-get-head into master 2024-09-04 19:51:08 +00:00
4 changed files with 5 additions and 7 deletions
Showing only changes of commit 700e891b85 - Show all commits

View file

@ -250,4 +250,4 @@
"stopAll": true
}
]
}
}

View file

@ -67,4 +67,4 @@ Bearer token is generally used for access control but can also affect authentica
## FrostFS ID
## APE
## APE

View file

@ -5,7 +5,7 @@ AddElementTag("smart-contract", $bgColor=#0abab5)
Person(user, "User", "User with private key")
Container_Boundary(stor, "FrostFS Storage") {
Container_Boundary(stor, "FrostFS Storage") {
Component(verify, "Sign Service", $descr="Check request signature")
Component(apesvc, "APE Service")
Component(objsvc, "Object service")
@ -25,4 +25,4 @@ Rel("NeoGo", ffsid, "Fetch users")
Rel("NeoGo", policy, "Fetch policies")
SHOW_LEGEND(true)
@enduml
@enduml

View file

@ -19,9 +19,7 @@ import (
"github.com/nspcc-dev/neo-go/pkg/crypto/keys"
)
var (
subjectNotFoundErrorMessage = "subject not found"
)
var subjectNotFoundErrorMessage = "subject not found"
func (s *Service) checkAPE(container *core.Container, cid cid.ID, operation acl.Op, role acl.Role, publicKey *keys.PublicKey) error {
namespace := ""