Added the AccessDeniedError type.
Changes following CR.
Merge pull request #22 from my-koop/mg_permissions

Added the AccessDeniedError type