Principle of Least Privilege: It doesn't appear you have configured the application user

I’ve replaced content of my AbstractMflixDao, but I have the same problem

my mongo URI: mongodb+srv://mflixAppUser:mflixAppPwd@mflix-xfiyz.mongodb.net/test?maxPoolSize=50&connectTimeoutMS=2000


It worked fine for me, see my screenshot below:

1 Like

Thank you. My problem was that I created my role with Atlas UI as a custom role, and this role has only readWrite permission for mflix. But I needed to click to Add Default Privileges button to add default permission. Now it works, your screenshot was very helpful.