Disable Edit tab when object is published, even in local development mode