change publish process when visualization and related tables are private