specs to hide edit link based on permissions