How to structure a MongoDB database to allow for multiple users to use the same account with restrictions based on roles?
When working on an authorization requirement for any application, there are three essential elements that are part of the setup: 

•   The resources that need to be secured/authorized
•   A list of roles and users that are part of these roles
•   A mapping between the resources and the roles that define who can access what