Issue #3216455 by DieterHolvoet, jonathan1055: Don't re-enable publish_state or unpublish_state field if access was previously hidden