rabbitmq / rabbitmq-server

Open source RabbitMQ: core server and tier 1 (built-in) plugins
https://www.rabbitmq.com/
Other
11.86k stars 3.9k forks source link

User tags should be a list in management API documentation #4050

Open acogoluegnes opened 2 years ago

acogoluegnes commented 2 years ago

image

should be

"tags": [
  "administrator"
],

References https://github.com/rabbitmq/rabbitmq-server/issues/2667.

rishidyno commented 8 months ago

Hi, I would like to work on this issue. Could you please assign and guide me to work on this issue?

mkuratczyk commented 7 months ago

@rishidyno I believe this is a docs-only issue at this point. You're welcome to make the changes to https://github.com/rabbitmq/rabbitmq-server/blob/main/deps/rabbitmq_management/priv/www/api/index.html (PR to the live branch).

Functionality seems to be ok:

> rabbitmqctl export_definitions - | jq .users
[
  {
    "hashing_algorithm": "rabbit_password_hashing_sha256",
    "limits": {},
    "name": "guest",
    "password_hash": "R6E9qfPEJdFukXXnPVSLgHbfXm7dNsszOC0GBqQ1C1ivOz8L",
    "tags": [
      "monitoring",
      "guest"
    ]
  }
]