sarkan20
(Ігор Поляков)
5
Hi, my solution is to create a role with listDatabases permission. More than that, the driver GUI itself does listDatabases when you select databases in the interface. like this: db.createRole({
role: “bi_list_role”,
privileges: [
{
resource: { db: “”, collection: “” },
actions: [ “find”, “listDatabases” ]
}
],
roles:
})