gerardobort / mongorilla

Mongorilla is a simple, clean, and powerful NodeJS based content moderator for MongoDB.
mongorilla.herokuapp.com
MIT License
79 stars 24 forks source link

Basic user roles support #6

Closed federicogfernandez closed 11 years ago

federicogfernandez commented 11 years ago

User definitions should include an attribute called 'role' and it must be a string with the name of a role defined in the json config file. User roles should be defined in json config file within an attribute called 'roles'. A 'default' role must be defined with an array of entities that every user can handle to be applied to users that don't have role definition. Other roles should be defined the same way.

gerardobort commented 11 years ago

done