mirror of
https://github.com/nspcc-dev/neofs-spec.git
synced 2026-03-01 04:29:18 +00:00
Static object session with search verb allows to search all objects in container #36
Labels
No labels
I2
I3
I3
I3
I4
S4
S4
S4
U2
U3
U3
U3
U4
U4
U4
bug
bug
bug
documentation
enhancement
enhancement
feature
feature
feature
good first issue
good first issue
help wanted
help wanted
help wanted
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nspcc-dev/neofs-spec#36
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Originally created by @abereziny on GitHub (Nov 9, 2022).
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
in feature branch
https://github.com/abereziny/neofs-testcases/tree/feature/abereziny-add-object-static-session-tests
testsuites.session_token.test_object_session_token#test_static_session_search
@fyrchik commented on GitHub (Nov 11, 2022):
I see no value in this restriction:
targetfield for restricting input operations, here we restrict the result, because search has no parameters.@roman-khimov commented on GitHub (Apr 21, 2023):
Should be documented somewhere.