Architecture
Role-Based Access Control (RBAC) in MongoDB is a security feature that controls access to resources and operations based on roles. A role grants privileges that dictate what actions a user can perform on which resources. MongoDB provides a variety of built-in roles and also allows you to define custom roles tailored to your specific needs.