Skip to content

[Bug]: DescribeUser returns empty string in role list #46676

@huanghaoyuanhhy

Description

@huanghaoyuanhhy

Is there an existing issue for this?

  • I have searched the existing issues

Environment

- Milvus version:
2.5.23
- Deployment mode(standalone or cluster):
- MQ type(rocksmq, pulsar or kafka):    
- SDK version(e.g. pymilvus v2.0.0rc2):
- OS(Ubuntu or CentOS): 
- CPU/Memory: 
- GPU: 
- Others:

Current Behavior

When calling DescribeUser, the returned role list may contain an empty string (""), which does not represent a valid role name.

Image

Expected Behavior

DescribeUser should return only valid, non-empty role names.

Steps To Reproduce

Milvus Log

No response

Anything else?

No response

Metadata

Metadata

Assignees

Labels

kind/bugIssues or changes related a bugtriage/acceptedIndicates an issue or PR is ready to be actively worked on.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions