1. Admin (ALL)
  2. Operation Roles ( C,R,U,D)
  3. Read Only (R)
  4. Customize Roles  (Combination of one or more)

Roles are used to login into databases and perform operations (Select, Insert, Delete, Update etc)

we need multiple types of roles for database activity ( Some role needs only view data so we can restrict their write and delete privileges ) or (Some need only CRUD operation so we can restrict admin privilege)

MongoDB Roles