Added admin check to publish and unpublished standard.