<?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: Grant permissions to groups on catalogs linked to the same metastore in Administration &amp; Architecture</title>
    <link>https://community.databricks.com/t5/administration-architecture/grant-permissions-to-groups-on-catalogs-linked-to-the-same/m-p/91319#M1867</link>
    <description>&lt;P&gt;Hello, thanks for your response.&lt;/P&gt;&lt;P&gt;Indeed, I had already considered that part. My problem is that I cannot grant privileges to `my_catalog_2` (which is associated with `my_workspace_2`) to a group at the workspace level.&lt;/P&gt;&lt;P&gt;In other words, I want all users in the "data_engineers" group of `my_workspace_2` to have `ALL_PRIVILEGES` on all schemas of `my_catalogo_2`.&lt;/P&gt;</description>
    <pubDate>Sun, 22 Sep 2024 07:13:52 GMT</pubDate>
    <dc:creator>jmsimonramos1</dc:creator>
    <dc:date>2024-09-22T07:13:52Z</dc:date>
    <item>
      <title>Grant permissions to groups on catalogs linked to the same metastore</title>
      <link>https://community.databricks.com/t5/administration-architecture/grant-permissions-to-groups-on-catalogs-linked-to-the-same/m-p/91270#M1861</link>
      <description>&lt;DIV&gt;&lt;SPAN&gt;Hi everyone!&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I am configuring several projects using Databricks, and I have a question regarding permission management in Unity Catalog. Here&lt;/SPAN&gt;&lt;SPAN&gt;'s the situation:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Currently, I have two different Databricks resources in an Azure account, each with its respective workspace:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;Azure_Databricks_1 &amp;gt; my_workspace_1&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Azure_Databricks_2 &amp;gt; my_workspace_2&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;DIV&gt;&lt;SPAN&gt;Additionally, I have configured and added a metastore called "my_metastore" to both workspaces, so that both can use the same Unity Catalog metastore.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Furthermore, each of the two workspaces has different users, meaning there are users common to both workspaces, and users who are not. To manage access more easily, I have created workspace-level groups, specifically a group called “data_access.”&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;In addition to that, each workspace has a catalog linked to the "my_metastore," and within those catalogs, the bronze, silver, and gold schemas are defined, so the structure looks something like this:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Azure_Databricks_1 &amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;my_workspace_1 &amp;gt; “data_access” group &amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-60px"&gt;&lt;SPAN&gt;my_catalog_1 &amp;gt; linked to “my_metastore” with the following schemas inside: &amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-90px"&gt;&lt;SPAN&gt;bronze &amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-90px"&gt;&lt;SPAN&gt;silver &amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-90px"&gt;&lt;SPAN&gt;gold&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-90px"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Azure_Databricks_2 &amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;my_workspace_2 &amp;gt; “data_access” group &amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-60px"&gt;&lt;SPAN&gt;my_catalog_2 &amp;gt; linked to “my_metastore” with the following schemas inside: &amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-90px"&gt;&lt;SPAN&gt;bronze &amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-90px"&gt;&lt;SPAN&gt;silver &amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-90px"&gt;&lt;SPAN&gt;gold&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-90px"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;My question is: Is there any way to give users in the “data_access” group of workspace_1 permissions to create tables, volumes, etc., ONLY in the schemas associated with the “my_catalog_1” catalog?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;The idea is that I, as an account-level administrator, create this catalog and schema structure in each workspace, as mentioned above, and then provide users in the “data_access” group (who can be different in each workspace) permissions to create tables and other objects but ONLY within that specific catalog, rather than in all catalogs defined within my Unity Catalog.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;U&gt;&lt;STRONG&gt;Important&lt;/STRONG&gt;&lt;/U&gt;: Users in the “data_access” group for “my_catalog_1” should not have any access to the schemas and tables in the “my_catalog_2” catalog. That’s why I’m trying to figure out how to restrict data access at the catalog level.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Any ideas on how I can do this? &amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;P.S.: I have account admin and workspace admin permissions for all workspaces.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Thank you very much in advance. &amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Best regards.&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 21 Sep 2024 07:54:19 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/grant-permissions-to-groups-on-catalogs-linked-to-the-same/m-p/91270#M1861</guid>
      <dc:creator>jmsimonramos1</dc:creator>
      <dc:date>2024-09-21T07:54:19Z</dc:date>
    </item>
    <item>
      <title>Re: Grant permissions to groups on catalogs linked to the same metastore</title>
      <link>https://community.databricks.com/t5/administration-architecture/grant-permissions-to-groups-on-catalogs-linked-to-the-same/m-p/91275#M1862</link>
      <description>&lt;P&gt;You could bind the catalog to specific workspaces, making them accessbile only from workspaces they are bound to.&lt;BR /&gt;&lt;A href="https://docs.databricks.com/en/catalogs/binding.html" target="_blank"&gt;https://docs.databricks.com/en/catalogs/binding.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;In your example:&lt;BR /&gt;if `my_catalog_2` is bound to `my_workspace_2` a user in `my_workspace_1` will not be able to access or modify objects in `my_catalog_2` even if they have permissions to do so in Unity Catalog.&lt;/P&gt;</description>
      <pubDate>Sat, 21 Sep 2024 09:00:44 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/grant-permissions-to-groups-on-catalogs-linked-to-the-same/m-p/91275#M1862</guid>
      <dc:creator>CharlesWoo</dc:creator>
      <dc:date>2024-09-21T09:00:44Z</dc:date>
    </item>
    <item>
      <title>Re: Grant permissions to groups on catalogs linked to the same metastore</title>
      <link>https://community.databricks.com/t5/administration-architecture/grant-permissions-to-groups-on-catalogs-linked-to-the-same/m-p/91319#M1867</link>
      <description>&lt;P&gt;Hello, thanks for your response.&lt;/P&gt;&lt;P&gt;Indeed, I had already considered that part. My problem is that I cannot grant privileges to `my_catalog_2` (which is associated with `my_workspace_2`) to a group at the workspace level.&lt;/P&gt;&lt;P&gt;In other words, I want all users in the "data_engineers" group of `my_workspace_2` to have `ALL_PRIVILEGES` on all schemas of `my_catalogo_2`.&lt;/P&gt;</description>
      <pubDate>Sun, 22 Sep 2024 07:13:52 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/grant-permissions-to-groups-on-catalogs-linked-to-the-same/m-p/91319#M1867</guid>
      <dc:creator>jmsimonramos1</dc:creator>
      <dc:date>2024-09-22T07:13:52Z</dc:date>
    </item>
    <item>
      <title>Re: Grant permissions to groups on catalogs linked to the same metastore</title>
      <link>https://community.databricks.com/t5/administration-architecture/grant-permissions-to-groups-on-catalogs-linked-to-the-same/m-p/91322#M1868</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/95693"&gt;@jmsimonramos1&lt;/a&gt;,&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;You create data_users_1 group.&lt;/LI&gt;&lt;LI&gt;You grant data_users_1 the needed privileges to&amp;nbsp;my_catalog_1:&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;GRANT ALL PRIVILEGES ON CATALOG my_catalog_1 to `data_access_1`;​&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;You create data_users_2 group.&lt;/LI&gt;&lt;LI&gt;You grant data_users_2 the needed privileges to my_catalog_2:&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;GRANT ALL PRIVILEGES ON CATALOG my_catalog_2 to `data_access_2`;​​&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;data_users_1 has now all privileges on my_catalog_1, whereas data_users_2 has now all privileges on my_catalog_2&lt;/LI&gt;&lt;LI&gt;There is no need to limit catalog visibility on the workspace level if there is no requirement to do so.&lt;/LI&gt;&lt;LI&gt;Check the &lt;A href="https://docs.databricks.com/en/data-governance/unity-catalog/manage-privileges/privileges.html" target="_self"&gt;docs&lt;/A&gt; on unity catalog privilege management&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Sun, 22 Sep 2024 08:02:22 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/grant-permissions-to-groups-on-catalogs-linked-to-the-same/m-p/91322#M1868</guid>
      <dc:creator>filipniziol</dc:creator>
      <dc:date>2024-09-22T08:02:22Z</dc:date>
    </item>
  </channel>
</rss>

