Bugfixes: do not render entire document from grid_base if embedded, use embedded in published grids, fix permission issue in visualization/saved