<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Multiple projects &#x2F; multi-tenancy]]></title><description><![CDATA[<p dir="auto">Got a support ticket asking how to create multiple projects on Directus - <a href="https://docs.directus.io/guides/projects.html" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.directus.io/guides/projects.html</a> . Investigating this, I found that the Directus app will require access to separate databases for each project you want to create. The current Cloudron package only has access to a single database but the package can be modified to support multiple databases.</p>
<p dir="auto">Is this something generally considered useful? If so, I can make the changes.</p>
]]></description><link>https://forum.cloudron.io/topic/3792/multiple-projects-multi-tenancy</link><generator>RSS for Node</generator><lastBuildDate>Fri, 17 Apr 2026 22:41:50 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/3792.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 25 Nov 2020 07:27:25 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Multiple projects &#x2F; multi-tenancy on Wed, 25 Nov 2020 20:41:43 GMT]]></title><description><![CDATA[<p dir="auto">so we could request upstream that they allow for customizing the table prefixes to make this less rigid.</p>
]]></description><link>https://forum.cloudron.io/post/19980</link><guid isPermaLink="true">https://forum.cloudron.io/post/19980</guid><dc:creator><![CDATA[robi]]></dc:creator><pubDate>Wed, 25 Nov 2020 20:41:43 GMT</pubDate></item><item><title><![CDATA[Reply to Multiple projects &#x2F; multi-tenancy on Wed, 25 Nov 2020 08:38:37 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/robi" aria-label="Profile: robi">@<bdi>robi</bdi></a> Each project (and thus each database) has it's own "system" tables with the prefix <code>directus_</code>. There is a directus_users table in each project/database. This means that there really are two separate users. If you change password in one, the other does not change.</p>
]]></description><link>https://forum.cloudron.io/post/19936</link><guid isPermaLink="true">https://forum.cloudron.io/post/19936</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Wed, 25 Nov 2020 08:38:37 GMT</pubDate></item><item><title><![CDATA[Reply to Multiple projects &#x2F; multi-tenancy on Wed, 25 Nov 2020 08:26:57 GMT]]></title><description><![CDATA[<p dir="auto">Isn't it just a finer grain isolation?</p>
<p dir="auto">Technically the same user can have multiple projects via the same username &amp; pw if the project name is different and the DB instance takes that into account for the same user.</p>
<p dir="auto">Does it?</p>
]]></description><link>https://forum.cloudron.io/post/19935</link><guid isPermaLink="true">https://forum.cloudron.io/post/19935</guid><dc:creator><![CDATA[robi]]></dc:creator><pubDate>Wed, 25 Nov 2020 08:26:57 GMT</pubDate></item><item><title><![CDATA[Reply to Multiple projects &#x2F; multi-tenancy on Wed, 25 Nov 2020 08:14:50 GMT]]></title><description><![CDATA[<p dir="auto">I have to take that back. I am not sure again anymore. It seems the users between projects are totally separate. I thought it was the same because I created them with the same username/password, so I thought there was some sort of shared user management going on, but there isn't. So, it's back to I think it's best not to support multi-tenancy.</p>
<p dir="auto">I implemented the change itself - <a href="https://git.cloudron.io/cloudron/directus-app/-/commit/309a56c72021f82312fc66bb94101c6692ec0b96#691718f47a3089a202609bee65b689fdc9e57855" target="_blank" rel="noopener noreferrer nofollow ugc">https://git.cloudron.io/cloudron/directus-app/-/commit/309a56c72021f82312fc66bb94101c6692ec0b96#691718f47a3089a202609bee65b689fdc9e57855</a> . But i won't make a new package.</p>
]]></description><link>https://forum.cloudron.io/post/19933</link><guid isPermaLink="true">https://forum.cloudron.io/post/19933</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Wed, 25 Nov 2020 08:14:50 GMT</pubDate></item><item><title><![CDATA[Reply to Multiple projects &#x2F; multi-tenancy on Wed, 25 Nov 2020 07:49:16 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/robi" aria-label="Profile: robi">@<bdi>robi</bdi></a> right. I initially thought it was something like WP multi-site and you can give it some table prefix per project, but it doesn't work like that. It really wants a separate database.</p>
<p dir="auto">Agree with you that since it's a fairly new app, we can fix this. But I am not sure what the common case is. Given that their docs have put this straight up, I am inclined to fix it. It's a pretty minor fix.</p>
]]></description><link>https://forum.cloudron.io/post/19932</link><guid isPermaLink="true">https://forum.cloudron.io/post/19932</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Wed, 25 Nov 2020 07:49:16 GMT</pubDate></item><item><title><![CDATA[Reply to Multiple projects &#x2F; multi-tenancy on Wed, 25 Nov 2020 07:38:44 GMT]]></title><description><![CDATA[<p dir="auto">this is pretty odd design; and wording.</p>
<p dir="auto">the docs cite multitenancy, fine, but entirely new DB is not it. It's just a new set of DB credentials and namespace, ie isolation (per tenant) in the same DB or separate DBs.</p>
<p dir="auto">it doesn't make sense to have it single use only.</p>
<p dir="auto">you can keep two versions, single and multitenant ;-/</p>
<p dir="auto">since it's a fairly new app, it's a good time to 'fix' it too.</p>
]]></description><link>https://forum.cloudron.io/post/19929</link><guid isPermaLink="true">https://forum.cloudron.io/post/19929</guid><dc:creator><![CDATA[robi]]></dc:creator><pubDate>Wed, 25 Nov 2020 07:38:44 GMT</pubDate></item><item><title><![CDATA[Reply to Multiple projects &#x2F; multi-tenancy on Wed, 25 Nov 2020 07:30:37 GMT]]></title><description><![CDATA[<p dir="auto">Wanted to mention that this will be a breaking change. Meaning, I have to create a new app pretty much since there is no easy way to migrate from a single database to multiple database package at this point. Most likely, users have to do some mysql based migration.</p>
]]></description><link>https://forum.cloudron.io/post/19928</link><guid isPermaLink="true">https://forum.cloudron.io/post/19928</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Wed, 25 Nov 2020 07:30:37 GMT</pubDate></item></channel></rss>