Static object session with search verb allows to search all objects in container #155
Labels
No labels
P0
P1
P2
P3
badger
frostfs-adm
frostfs-cli
frostfs-ir
frostfs-lens
frostfs-node
good first issue
triage
Infrastructure
blocked
bug
config
discussion
documentation
duplicate
enhancement
go
help wanted
internal
invalid
kludge
observability
perfomance
question
refactoring
wontfix
No milestone
No project
No assignees
4 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-node#155
Loading…
Reference in a new issue
No description provided.
Delete branch "dstepanov-yadro/frostfs-node:bugfix/object-1982_session_token_search"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
Have 3 objects in container (oid1, oid2, oid3)
Create static session with search verb for 2 objects in container
Sign token
Using signed token as static session make search request
Expected Behavior
Search should return only objects allowed in static session: oid1 and oid2
Current Behavior
Search returns all objects in container: oid1, oid2, oid3
Which makes user with limited rights to scan whole container.
Autotest
testsuites.session_token.test_object_session_token#test_static_session_search
62138af1b8
tocb0ffa6b6c
Autotests
cb0ffa6b6c
to5f9a0f99b9
5f9a0f99b9
to97b9d165e6
@fyrchik, was that approved? See no discussion: https://github.com/nspcc-dev/neofs-node/issues/2030#issuecomment-1311467898