MongoDB how can we have all the admin privileges plus restriction to access the data inside the database

We need to know how we can restrict having access to MongoDB even when we have admin access. we as devops create MongoDB then we get admin access, using these admin access we can see data in all database in MongoDB . How can we restrict read and write data in all database in MongoDB This user requires to perform all admin tasks and access to infra.But, as xyz being GDPR complaint, We should not have access to customer’s data . So, we need solution that this user can perform any admin activity but it should not able to access to customer’s data and can you provide links for this as well.

You can check the full list of built in roles from manual. And if no such role exists, you can try creating your own role with proper permissions for admin and read/write access.