Self-hosted, single-org with templates?

When enabling GRIST_SINGLE_ORG on a self-hosted grist, my understanding is that i cannot also use GRIST_TEMPLATE_ORG, correct?

Hi @Sven_N.

I think you can set both to the same org, although the effect probably isn’t what you’re looking for (you’ll see all of your org’s documents listed on the Templates page). It’s typically been used in multi-org deployments, where there’s a dedicated site that hosts all of the template documents (this is also how it’s handled on Grist SaaS).

Supporting single org deployments does seem feasible if only documents with type template are listed on the templates page. That’s a simple enough change that we’d happily accept a PR for in the grist-core repo, with the caveat that it should probably only apply to single org deployments (as existing, multi-org deployments may be relying on the current behavior).

George