<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Databricks bundle repository permission in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/databricks-bundle-repository-permission/m-p/132535#M49531</link>
    <description>&lt;P&gt;Databricks Asset Bundle configuration currently does not natively support setting permissions directly on arbitrary workspace folders (such as the root_path folder where code is deployed) via the bundle YAML file. The documented and supported permission management in bundles applies only to specific resource types—Jobs, Pipelines, Dashboards, Models, and Experiments—not general workspace directories or folders&amp;nbsp;&lt;A href="https://docs.databricks.com/aws/en/dev-tools/bundles/permissions" target="_blank"&gt;https://docs.databricks.com/aws/en/dev-tools/bundles/permissions&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Workaround and Best Practice&lt;BR /&gt;After deployment, manually set workspace folder permissions via the Databricks UI or use the Workspace REST API (/api/2.0/permissions/workspace/&amp;lt;path&amp;gt;) to script permission changes on the deployment folder&amp;nbsp;&lt;A href="https://docs.databricks.com/aws/en/security/auth/access-control/" target="_blank"&gt;https://docs.databricks.com/aws/en/security/auth/access-control/&lt;/A&gt;&amp;nbsp; ,&amp;nbsp;&lt;A href="https://docs.databricks.com/aws/en/dev-tools/bundles/permissions" target="_blank"&gt;https://docs.databricks.com/aws/en/dev-tools/bundles/permissions&lt;/A&gt;&amp;nbsp; &amp;nbsp;Consider automation via external tools/scripts to enforce permissions post-deployment, since bundle YAML does not cover workspace directory permissioning.&amp;nbsp;&amp;nbsp;&lt;A href="https://docs.databricks.com/api/workspace/workspace/setpermissions" target="_blank"&gt;https://docs.databricks.com/api/workspace/workspace/setpermissions&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 19 Sep 2025 09:26:10 GMT</pubDate>
    <dc:creator>ManojkMohan</dc:creator>
    <dc:date>2025-09-19T09:26:10Z</dc:date>
    <item>
      <title>Databricks bundle repository permission</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-bundle-repository-permission/m-p/132534#M49530</link>
      <description>&lt;P class=""&gt;Hi everyone,&lt;BR /&gt;How can I use Databricks Asset Bundle configuration to set permissions on the workspace folder (root_path) where my code is deployed, in order to protect it from manual changes by users?&lt;/P&gt;&lt;P class=""&gt;My current bundle config for production looks like this:&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;prod: &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;&amp;nbsp; mode: production &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;&amp;nbsp; workspace: &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;profile: PROD host: &lt;A href="https://dbc-xxxxxxxxxxxxx.cloud.databricks.com" target="_blank" rel="noopener"&gt;https://dbc-xxxxxxxxxxxxx.cloud.databricks.com &lt;/A&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;root_path: /Shared/.bundle/${bundle.name}/${bundle.target} &lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P class=""&gt;I would like to restrict write or manage permissions on this folder to prevent manual edits in the Databricks workspace path&amp;nbsp;&lt;SPAN&gt;/Shared/.bundle/${bundle.name}/${bundle.target}&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;What would the syntax look like for a workspace directory permission?&lt;BR /&gt;I was searching in Databricks documentation and found only the following article which explains how to set permissions to Jobs/Pipelines/Dashboards/Models/Experiments.&lt;BR /&gt;&lt;A href="https://docs.databricks.com/aws/en/dev-tools/bundles/permissions" target="_blank" rel="noopener"&gt;https://docs.databricks.com/aws/en/dev-tools/bundles/permissions&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Yet this article does not mention how to set permission for a specific path in the workspace.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Sep 2025 09:14:15 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-bundle-repository-permission/m-p/132534#M49530</guid>
      <dc:creator>HoussemBL</dc:creator>
      <dc:date>2025-09-19T09:14:15Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks bundle repository permission</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-bundle-repository-permission/m-p/132535#M49531</link>
      <description>&lt;P&gt;Databricks Asset Bundle configuration currently does not natively support setting permissions directly on arbitrary workspace folders (such as the root_path folder where code is deployed) via the bundle YAML file. The documented and supported permission management in bundles applies only to specific resource types—Jobs, Pipelines, Dashboards, Models, and Experiments—not general workspace directories or folders&amp;nbsp;&lt;A href="https://docs.databricks.com/aws/en/dev-tools/bundles/permissions" target="_blank"&gt;https://docs.databricks.com/aws/en/dev-tools/bundles/permissions&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Workaround and Best Practice&lt;BR /&gt;After deployment, manually set workspace folder permissions via the Databricks UI or use the Workspace REST API (/api/2.0/permissions/workspace/&amp;lt;path&amp;gt;) to script permission changes on the deployment folder&amp;nbsp;&lt;A href="https://docs.databricks.com/aws/en/security/auth/access-control/" target="_blank"&gt;https://docs.databricks.com/aws/en/security/auth/access-control/&lt;/A&gt;&amp;nbsp; ,&amp;nbsp;&lt;A href="https://docs.databricks.com/aws/en/dev-tools/bundles/permissions" target="_blank"&gt;https://docs.databricks.com/aws/en/dev-tools/bundles/permissions&lt;/A&gt;&amp;nbsp; &amp;nbsp;Consider automation via external tools/scripts to enforce permissions post-deployment, since bundle YAML does not cover workspace directory permissioning.&amp;nbsp;&amp;nbsp;&lt;A href="https://docs.databricks.com/api/workspace/workspace/setpermissions" target="_blank"&gt;https://docs.databricks.com/api/workspace/workspace/setpermissions&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Sep 2025 09:26:10 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-bundle-repository-permission/m-p/132535#M49531</guid>
      <dc:creator>ManojkMohan</dc:creator>
      <dc:date>2025-09-19T09:26:10Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks bundle repository permission</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-bundle-repository-permission/m-p/132536#M49532</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/115968"&gt;@HoussemBL&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;As far I know, there is no direct syntax or configuration option within the bundle YAML (e.g., under &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;permissions&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;, &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;workspace&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;, or any other top-level key) to set permissions on workspace folders, directories, or the &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;root_path&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt; itself. The &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;permissions&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt; mapping in bundles is limited to supported resource types like &lt;STRONG&gt;jobs, pipelines, dashboards, models, and experiments.&lt;/STRONG&gt; It applies access levels such as &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;CAN_VIEW&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;, &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;CAN_MANAGE&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;, or &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;CAN_RUN&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt; (or resource-specific variants like &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;CAN_EDIT&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt; or &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;IS_OWNER&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;) to those assets only.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;For more information:&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;A href="https://docs.databricks.com/aws/en/dev-tools/bundles/permissions#define-permissions-for-a-specific-resource" target="_blank" rel="noopener"&gt;https://docs.databricks.com/aws/en/dev-tools/bundles/permissions#define-permissions-for-a-specific-resource&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Open for other solutions&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 19 Sep 2025 09:28:27 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-bundle-repository-permission/m-p/132536#M49532</guid>
      <dc:creator>Khaja_Zaffer</dc:creator>
      <dc:date>2025-09-19T09:28:27Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks bundle repository permission</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-bundle-repository-permission/m-p/132539#M49533</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/115968"&gt;@HoussemBL&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;In Databricks there is a users group to which by deafult all the workspace users belong (in UI displayed All workspace users). That group has default permission that cannot be revoked at the top-level Shared folder.&amp;nbsp;&lt;BR /&gt;So, any new folder under Shared folder will inherit CAN MANAGE permission for the user group.&lt;/P&gt;&lt;P&gt;In your case, you need to create folder outside Shared folder. In that way you can apply folder ACL to whatever group/user you want like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="szymon_dybczak_0-1758274939092.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/20115iC10AAF44A01407CE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="szymon_dybczak_0-1758274939092.png" alt="szymon_dybczak_0-1758274939092.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Sep 2025 09:42:26 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-bundle-repository-permission/m-p/132539#M49533</guid>
      <dc:creator>szymon_dybczak</dc:creator>
      <dc:date>2025-09-19T09:42:26Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks bundle repository permission</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-bundle-repository-permission/m-p/132543#M49536</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/110502"&gt;@szymon_dybczak&lt;/a&gt;&amp;nbsp; If I change the `root_path` in my bundle configuration from shared to a specific path, will all my existing pipelines and jobs be deleted with new instances created, or is it possible to retain my existing pipelines and jobs?&lt;BR /&gt;I am particularly concerned about DLT pipelines: if they are deleted, their associated databases and tables might also be lost, which I want to avoid.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Sep 2025 10:06:08 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-bundle-repository-permission/m-p/132543#M49536</guid>
      <dc:creator>HoussemBL</dc:creator>
      <dc:date>2025-09-19T10:06:08Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks bundle repository permission</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-bundle-repository-permission/m-p/132544#M49537</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/115968"&gt;@HoussemBL&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Good point here. I guess when you change root_path new resource will be created because in root path resides tf state that DAB uses to track state.&amp;nbsp;&lt;BR /&gt;Best way to check is to create dummy dlt pipeline on dev environment and deploy. Then change root path and deploy again. Then you will be sure &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Sep 2025 10:34:27 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-bundle-repository-permission/m-p/132544#M49537</guid>
      <dc:creator>szymon_dybczak</dc:creator>
      <dc:date>2025-09-19T10:34:27Z</dc:date>
    </item>
  </channel>
</rss>

