Work on contributions and permissions.
Implemented permissions everywhere.
Changes following CR.
Merge pull request #11 from my-koop/mg_contrib_perms

Defined and used permissions