-
Type: Question
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: 4.2.8
-
Component/s: None
-
None
Hi,
We are using trinodb to fetch the data from our existing MongoDB cluster.
In order to make connection, we created a user with readonly privileges as:
"_id" : "admin.readonly", "_id" : "admin.readonly", "userId" : UUID("***"), "user" : "readonly", "db" : "admin", "roles" : [ { "role" : "clusterMonitor", "db" : "admin" }, { "role" : "readAnyDatabase", "db" : "admin" } ],
When we make connection using trinodb, we found a collection named "_schema" is created and we found metadata information like data type and collections name inside it.
https://trino.io/docs/current/connector/mongodb.html#mongodb-schema-collection
Now we are wondering with readonly, how it allow to create "_schema" collection.
Please help us to understand if we are having any leakage/missing in our user management or anything.