Hide the edit link if that action is not permitted