Modify db to handle permission in a more flexible way
Merge pull request #6 from gattazr/master

Modify db to handle permission in a more flexible way