[Bug]: the db without permission can view the data from the first search iterator of the previous db #39117
Labels
kind/bug
Issues or changes related a bug
priority/critical-urgent
Highest priority. Must be actively worked on as someone's top priority right now.
triage/accepted
Indicates an issue or PR is ready to be actively worked on.
Milestone
Is there an existing issue for this?
Environment
Current Behavior
self.create_role(client_root, role_name=role_name)
self.grant_role(client_root, user_name=user_name, role_name=role_name)
self.grant_privilege(client_root, role_name, "Collection", "Search", collection_name, "default")
self.grant_privilege(client_root, role_name, "Collection", "Insert", collection_name, "db1")
client, _ = self.init_milvus_client(uri=uri, user=user_name, password=password)
Expected Behavior
first search_iterator.next no permission
Steps To Reproduce
Milvus Log
https://grafana-4am.zilliz.cc/explore?orgId=1&panes=%7B%22knx%22:%7B%22datasource%22:%22vhI6Vw67k%22,%22queries%22:%5B%7B%22refId%22:%22A%22,%22expr%22:%22%7Bcluster%3D%5C%22devops%5C%22,namespace%3D%5C%22chaos-testing%5C%22,pod%3D~%5C%22searchiterator-v2-qx-hfghv.%2A%5C%22%7D%22,%22datasource%22:%7B%22type%22:%22loki%22,%22uid%22:%22vhI6Vw67k%22%7D%7D%5D,%22range%22:%7B%22from%22:%221736414582789%22,%22to%22:%221736414680339%22%7D%7D%7D&schemaVersion=1
Anything else?
N/A
The text was updated successfully, but these errors were encountered: