I have a cluster with 3 databases, Development, Staging & Production. I’m trying to create a database user with read/write permissions on Development & Staging, but only read permissions on Production.
I’ve successfully limited the user’s access to the cluster using the Restrict Access to Specific Cluster/Data Lake option in the Edit Database User options in atlas, but I’m having issues with setting specific permissions to databases within the cluster.
I’m trying to do this using custom roles. I’ve created a custom role for the user with all collectionActions enabled in Development & Staging, and only find (within collectionActions) enabled in Production.
When I try to open the collection list in the Development database, it fails with this error message:
ListCollections failed.
errmsg: "not authorized on Development to execute command
I’m using Robo3T as my GUI, when I try to do the same in Compass no collections are listed under Development.