Remove redundant anchor tags when user doesn't have the right to edit attribute groups