rabbitmq-server icon indicating copy to clipboard operation
rabbitmq-server copied to clipboard

User tags should be a list in management API documentation

Open acogoluegnes opened this issue 4 years ago • 2 comments

image

should be

"tags": [
  "administrator"
],

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

acogoluegnes avatar Jan 27 '22 15:01 acogoluegnes

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

rishidyno avatar Nov 10 '23 21:11 rishidyno

@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"
    ]
  }
]

mkuratczyk avatar Nov 16 '23 12:11 mkuratczyk