Let $\mathcal{G} = G\_1 \rightrightarrows G\_0$ be a Lie Groupoid (although I am also interested in groupoids internal to other sites), the stack associated to $\mathcal{G}$, which is sometimes denoted $B \mathcal{G}$ is defined as the projection from the category of principal $\mathcal{G}$-bundles to $\mathsf{Man}$. However it is also well known that we can use the functor $r\_1: \mathsf{LieGpd} \hookrightarrow \mathsf{Pre}(\mathsf{Man}, \mathsf{Gpd})$, defined as
$$M \mapsto \left( C^\infty(M, G\_1) \rightrightarrows C^\infty(M, G\_0) \right)$$
and that the stackification of this presheaf of groupoids is equivalent to $B \mathcal{G}$.


However as Chris Schommer-Pries pointed out, $r\_1(G \rightrightarrows \*)$ is not a stack on $\mathsf{Man}$. It is however a stack on $\mathsf{Cart}$ the site of cartesian spaces. This can be seen by showing that if we let $\widehat{r}G = r\_1(G \rightrightarrows \*)$, then for $U \in \mathsf{Cart}$ equipped with a differentiably good open cover $\{ U\_i \to U \}$, the canonical map


$$\widehat{r}G(U) \to \text{holim} \left( \prod\_i \widehat{r}G(U\_i) \rightrightarrows \prod\_{i,j} \widehat{r}G(U\_{ij}) \mathrel{\substack{\textstyle\rightarrow\\[-0.6ex]
 \textstyle\rightarrow \\[-0.6ex]
 \textstyle\rightarrow}} \prod\_{i,j,k} \widehat{r}G(U\_{ijk}) \right)$$
is an equivalence of groupoids. One can see this by using a specific model of $\text{holim}$ from Hollander's Homotopy Theory of Stacks Corollary 2.11, and then recognizing the right hand side as the groupoid of Principal $G$-bundles on $U$. Since $U$ is a Cartesian space, this groupoid will be connected and this will prove that the map is an equivalence.


My question then is the following:


Is there a necessary and sufficient condition that one could put on a Lie groupoid $\mathcal{G}$ such that $r\_1(\mathcal{G})$ is already a stack on $\mathsf{Cart}$? I suspect that it should be any Lie groupoid, we would need to follow the same logic as above using principal groupoid bundles, i.e. building principal groupoid bundles from local data. Perhaps this has been done somewhere?



Necessary and sufficient conditions for a Lie groupoid to present a stack
Note that $\hat r\mathcal{G}$ is always a prestack. This is basically equivalent to the fact that $C^\infty(-,G\_1)$ is a sheaf, and it means that your functor
$$
\hat r\mathcal{G}(U) \to \mathrm{holim}(...) 
$$
can only fail to be essentially surjective.


Essential surjectivity of this functor is equivalent to saying that every principal $\mathcal{G}$-bundle over a Cartesian space is trivializable.


A sufficient condition to garantee this is that your Lie groupoid $\mathcal{G}$ is an action groupoid (for an action of a Lie group $H$ on a smooth manifold $X$). In particular, this is true when your Lie groupoid is a Lie 2-group.


Namely, principal bundles for an action groupoid $X/\!/H$ are at the same time ordinary principal $H$-bundles (with additional structure). Any ordinary principal bundle has a global section over any Cartesian space. But a section is already enough to trivialize the $X/\!/H$-bundle.


You find these statements in Section 2.2. of:


*Nikolaus, Thomas; Waldorf, Konrad*, [**Four equivalent versions of nonabelian gerbes**](http://dx.doi.org/10.2140/pjm.2013.264.355), Pac. J. Math. 264, No. 2, 355-420 (2013). [ZBL1286.55006](https://zbmath.org/?q=an:1286.55006).


