Defined and used permissions.
Merge pull request #4 from my-koop/mg_perms

Defined and used permissions