save buffer if user is allowed to publish