MongoDB Authorization Model
Introduction#
Authorization is the basically verifies user privileges. MongoDB support different kind of authorization models.
- Role base access control
Role are group of privileges, actions over resources. That are gain to users over a given namespace (Database).
Actions are performs on resources. Resources are any object that hold state in database.
Build-in Roles
Built-in database user roles and database administration roles roles exist in each database.
Database User Roles
read
readwrite