Delete operation not allowed with Bearer token and eACL with deny all operations (complex object) #700
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 project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-node#700
Loading…
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?
May be related to #687
Autotest
testsuites.acl.test_bearer.TestACLBearer#test_bearer_token_compound_operations
testsuites.acl.test_bearer.TestACLBearer#test_bearer_token_operations
Expected Behavior
Delete operation should be allowed with Bearer token (complex object).
Current Behavior
Delete operation not allowed with Bearer token (complex object).
Steps to Reproduce (for bugs)
Regression
Yes
Version
Your Environment
Cloud
How to reproduce:
In the
cmd/frostfs-cli/module/object/util file.go
comment out the lines:Run tests again dev-env
The bug is that the tryGetSplitMembersBySplitID method does Search, and the bearer token is not used.