Restrict actions in the CharactersController based on permissions and hide links.