forked from TrueCloudLab/frostfs-node
[#285] object/eacl: Validate X-headers from the requests, not the responses
In previous implementation of eACL service v2 the response X-headers were validated at the stage of re-checking eACL. This provoked a mismatch of records in the eACL table with requests. Fix this behavior by checking the headers from the request, not the response. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
c69f867af1
commit
2897e83fb2
4 changed files with 24 additions and 4 deletions
|
@ -27,6 +27,7 @@ type (
|
|||
vheader *session.RequestVerificationHeader
|
||||
token *session.SessionToken
|
||||
bearer *bearer.BearerToken
|
||||
src interface{}
|
||||
}
|
||||
|
||||
SenderClassifier struct {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue