change public to protected on allownew-edit-remove

See Bug 259