forked from TrueCloudLab/frostfs-node
[#1103] Fix end of file and trim trailing whitespace
Signed-off-by: Anton Nikiforov <an.nikiforov@yadro.com>
This commit is contained in:
parent
1f02ac2566
commit
700e891b85
4 changed files with 5 additions and 7 deletions
|
@ -250,4 +250,4 @@
|
||||||
"stopAll": true
|
"stopAll": true
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -67,4 +67,4 @@ Bearer token is generally used for access control but can also affect authentica
|
||||||
|
|
||||||
## FrostFS ID
|
## FrostFS ID
|
||||||
|
|
||||||
## APE
|
## APE
|
||||||
|
|
|
@ -5,7 +5,7 @@ AddElementTag("smart-contract", $bgColor=#0abab5)
|
||||||
|
|
||||||
Person(user, "User", "User with private key")
|
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(verify, "Sign Service", $descr="Check request signature")
|
||||||
Component(apesvc, "APE Service")
|
Component(apesvc, "APE Service")
|
||||||
Component(objsvc, "Object service")
|
Component(objsvc, "Object service")
|
||||||
|
@ -25,4 +25,4 @@ Rel("NeoGo", ffsid, "Fetch users")
|
||||||
Rel("NeoGo", policy, "Fetch policies")
|
Rel("NeoGo", policy, "Fetch policies")
|
||||||
|
|
||||||
SHOW_LEGEND(true)
|
SHOW_LEGEND(true)
|
||||||
@enduml
|
@enduml
|
||||||
|
|
|
@ -19,9 +19,7 @@ import (
|
||||||
"github.com/nspcc-dev/neo-go/pkg/crypto/keys"
|
"github.com/nspcc-dev/neo-go/pkg/crypto/keys"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var subjectNotFoundErrorMessage = "subject not found"
|
||||||
subjectNotFoundErrorMessage = "subject not found"
|
|
||||||
)
|
|
||||||
|
|
||||||
func (s *Service) checkAPE(container *core.Container, cid cid.ID, operation acl.Op, role acl.Role, publicKey *keys.PublicKey) error {
|
func (s *Service) checkAPE(container *core.Container, cid cid.ID, operation acl.Op, role acl.Role, publicKey *keys.PublicKey) error {
|
||||||
namespace := ""
|
namespace := ""
|
||||||
|
|
Loading…
Reference in a new issue