Fixed a redirection when the user doesn't have any permission.