Handle errors when creating or changing permission
Merge pull request #329 from CruGlobal/MH-968

Handle errors when creating or changing permission