Remove edit link if the user is not permitted to edit