<?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[First time setup&#x2F;Admin notes show incorrect + LDAP default role not functioning]]></title><description><![CDATA[<p dir="auto">Hi all,</p>
<p dir="auto">it seems the either the docs or first time install notes are incorrect regarding setting the default ldap role, first time install says the path is "/app/data/env" while the docs say "/app/data/env.sh"<br />
I am not sure which is correct, as I can not get either to work.<br />
I am also having to assume you get the role ID from the url like this "/admin/settings/roles/524eadcb-5b8b-4bf6-ae4e-7f0e02c54ed6" as that is also not in the docs.</p>
<p dir="auto">Any clarification on this would be appreciated, as well as a correction of whichever location is wrong.</p>
<p dir="auto">First time install notes<br />
<img src="/assets/uploads/files/1736756468478-bee94b93-0ec4-4de3-8941-151e3ed468ab-image.png" alt="bee94b93-0ec4-4de3-8941-151e3ed468ab-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto"><a href="https://docs.cloudron.io/apps/directus/" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.cloudron.io/apps/directus/</a><br />
<img src="/assets/uploads/files/1736756686883-2c3c5551-44c8-453f-b556-55df797b0b0f-image.png" alt="2c3c5551-44c8-453f-b556-55df797b0b0f-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Thanks all!</p>
]]></description><link>https://forum.cloudron.io/topic/13114/first-time-setup-admin-notes-show-incorrect-ldap-default-role-not-functioning</link><generator>RSS for Node</generator><lastBuildDate>Tue, 10 Mar 2026 01:02:59 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/13114.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 13 Jan 2025 08:26:22 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to First time setup&#x2F;Admin notes show incorrect + LDAP default role not functioning on Fri, 17 Jan 2025 11:31:10 GMT]]></title><description><![CDATA[<p dir="auto">Also fixed up the docs at <a href="https://docs.cloudron.io/apps/directus/" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.cloudron.io/apps/directus/</a> then</p>
]]></description><link>https://forum.cloudron.io/post/100112</link><guid isPermaLink="true">https://forum.cloudron.io/post/100112</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Fri, 17 Jan 2025 11:31:10 GMT</pubDate></item><item><title><![CDATA[Reply to First time setup&#x2F;Admin notes show incorrect + LDAP default role not functioning on Fri, 17 Jan 2025 03:40:10 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/nebulon" aria-label="Profile: nebulon">@<bdi>nebulon</bdi></a> said in <a href="/post/100085">First time setup/Admin notes show incorrect + LDAP default role not functioning</a>:</p>
<blockquote>
<p dir="auto">AUTH_CLOUDRON_DEFAULT_ROLE_ID</p>
</blockquote>
<p dir="auto">Thanks a lot. It works <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f44c.png?v=c3aa4c12b7e" class="not-responsive emoji emoji-android emoji--ok_hand" style="height:23px;width:auto;vertical-align:middle" title="👌" alt="👌" /> ! I really like this app. The UI is neat (dark mode from the start !)  and it has a lot of potential. Let's try to develop something with it.<br />
Best wishes <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f60a.png?v=c3aa4c12b7e" class="not-responsive emoji emoji-android emoji--blush" style="height:23px;width:auto;vertical-align:middle" title="😊" alt="😊" /></p>
]]></description><link>https://forum.cloudron.io/post/100088</link><guid isPermaLink="true">https://forum.cloudron.io/post/100088</guid><dc:creator><![CDATA[osobo]]></dc:creator><pubDate>Fri, 17 Jan 2025 03:40:10 GMT</pubDate></item><item><title><![CDATA[Reply to First time setup&#x2F;Admin notes show incorrect + LDAP default role not functioning on Thu, 16 Jan 2025 16:20:57 GMT]]></title><description><![CDATA[<p dir="auto">OH! only now I realized the hint from <a class="plugin-mentions-user plugin-mentions-a" href="/user/joseph" aria-label="Profile: joseph">@<bdi>joseph</bdi></a> about LDAP. So the env variable now has to be<code>AUTH_CLOUDRON_DEFAULT_ROLE_ID</code></p>
<p dir="auto">The app uses <code>AUTH_&lt;provider&gt;_...</code> schema for those variables and we have switched over from LDAP to a custom Cloudron OIDC provider.</p>
]]></description><link>https://forum.cloudron.io/post/100085</link><guid isPermaLink="true">https://forum.cloudron.io/post/100085</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Thu, 16 Jan 2025 16:20:57 GMT</pubDate></item><item><title><![CDATA[Reply to First time setup&#x2F;Admin notes show incorrect + LDAP default role not functioning on Thu, 16 Jan 2025 12:45:49 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/nebulon" aria-label="Profile: nebulon">@<bdi>nebulon</bdi></a> Thanks. No they don't exist by default. You start with only Admin and Public ones and have to create the other roles you need, along with their related policies, with or without Admin rights. So ultimately you got a custom id role for each new role created.</p>
<p dir="auto">I've then edited the <a href="http://env.sh" target="_blank" rel="noopener noreferrer nofollow ugc">env.sh</a> and add <em>export AUTH_LDAP_DEFAULT_ROLE_ID=&lt;id of new role without Admin rights&gt;</em> but whenever I log a new Cloudron user it still inherits the Admin rights by default..</p>
]]></description><link>https://forum.cloudron.io/post/100079</link><guid isPermaLink="true">https://forum.cloudron.io/post/100079</guid><dc:creator><![CDATA[osobo]]></dc:creator><pubDate>Thu, 16 Jan 2025 12:45:49 GMT</pubDate></item><item><title><![CDATA[Reply to First time setup&#x2F;Admin notes show incorrect + LDAP default role not functioning on Thu, 16 Jan 2025 11:09:28 GMT]]></title><description><![CDATA[<p dir="auto">At least in a fresh installation I cannot see those roles you refer to in the UI. So I also don't know where to get the ID or if those even exist or if those are just some convention.</p>
]]></description><link>https://forum.cloudron.io/post/100072</link><guid isPermaLink="true">https://forum.cloudron.io/post/100072</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Thu, 16 Jan 2025 11:09:28 GMT</pubDate></item><item><title><![CDATA[Reply to First time setup&#x2F;Admin notes show incorrect + LDAP default role not functioning on Thu, 16 Jan 2025 04:18:54 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/nebulon" aria-label="Profile: nebulon">@<bdi>nebulon</bdi></a> Thank you for the clarification but I'm still confused regarding <strong>roles id</strong>.<br />
I understand there are 4 main key build-in roles  in Directus (Admin, Editors, Viewer and Public).<br />
For instance if I want all Cloudron's users (except the Admin that has logged first) to be given by default the build-in role "Viewer" in Directus what role id should I use in  AUTH_LDAP_DEFAULT_ROLE_ID=&lt;<strong>id of role</strong>&gt;? Thank you for your support <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f64f.png?v=c3aa4c12b7e" class="not-responsive emoji emoji-android emoji--pray" style="height:23px;width:auto;vertical-align:middle" title="🙏" alt="🙏" /></p>
]]></description><link>https://forum.cloudron.io/post/100055</link><guid isPermaLink="true">https://forum.cloudron.io/post/100055</guid><dc:creator><![CDATA[osobo]]></dc:creator><pubDate>Thu, 16 Jan 2025 04:18:54 GMT</pubDate></item><item><title><![CDATA[Reply to First time setup&#x2F;Admin notes show incorrect + LDAP default role not functioning on Mon, 13 Jan 2025 16:45:12 GMT]]></title><description><![CDATA[<p dir="auto">Just a heads up: the directus package is using OIDC and not LDAP</p>
]]></description><link>https://forum.cloudron.io/post/99919</link><guid isPermaLink="true">https://forum.cloudron.io/post/99919</guid><dc:creator><![CDATA[joseph]]></dc:creator><pubDate>Mon, 13 Jan 2025 16:45:12 GMT</pubDate></item><item><title><![CDATA[Reply to First time setup&#x2F;Admin notes show incorrect + LDAP default role not functioning on Mon, 13 Jan 2025 14:06:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/nebulon" aria-label="Profile: nebulon">@<bdi>nebulon</bdi></a> Thanks for the clarification and patch! I appreciate you looking into this.</p>
]]></description><link>https://forum.cloudron.io/post/99904</link><guid isPermaLink="true">https://forum.cloudron.io/post/99904</guid><dc:creator><![CDATA[Fuko]]></dc:creator><pubDate>Mon, 13 Jan 2025 14:06:45 GMT</pubDate></item><item><title><![CDATA[Reply to First time setup&#x2F;Admin notes show incorrect + LDAP default role not functioning on Mon, 13 Jan 2025 13:46:49 GMT]]></title><description><![CDATA[<p dir="auto">Looking at <code>start.sh</code> script of the app, both files are currently treated the same essentially: <a href="https://git.cloudron.io/packages/directus-app/-/blob/master/start.sh?ref_type=heads#L112" target="_blank" rel="noopener noreferrer nofollow ugc">https://git.cloudron.io/packages/directus-app/-/blob/master/start.sh?ref_type=heads#L112</a></p>
<p dir="auto">The one in the long run will be <code>/app/data/env.sh</code> and I have fixed up the postinstall for the next package version now.</p>
<p dir="auto">For the role value, the id from the browser URL bar is indeed the correct ID, this only applies to first time login</p>
]]></description><link>https://forum.cloudron.io/post/99899</link><guid isPermaLink="true">https://forum.cloudron.io/post/99899</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Mon, 13 Jan 2025 13:46:49 GMT</pubDate></item></channel></rss>