\n","author":{"@type":"Person","name":"Ailton"},"upvoteCount":3,"answerCount":1,"acceptedAnswer":null}}
Reputation: 117
I connected to my Cluster (MongoDB Atlas) using Studio 3T. But when i click on the users button, i receive the error of the photo. I have the user ailtonjr with atlasAdmin@admin role in the Database Access and my IP in Network Access. I can delete and create databases normally on the Atlas via browser, but can't on Studio 3T.
Upvotes: 3
Views: 2204
Reputation: 22316
atlasAdmin
is a custom role which does not include many "admin" privileges as you'd expect. MongoDB's team choose to leave this ambiguous on purpose so it's unclear exactly what this role contains.
The reason you can do all those actions via their GUI is because you are connected under a different role there, it's not a direct db connection. They do not allow full access for manually created users, I suspect as it can cause synchronization issues.
What you can do is give your user the dbAdmin
privilege through their GUI, this will allow you to create and drop databases.
Upvotes: 1