<?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: Unity catalog - How do you modify groups properly ? in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/unity-catalog-how-do-you-modify-groups-properly/m-p/24230#M16835</link>
    <description>&lt;P&gt;@Yannick Vuignier​&amp;nbsp;why do you want to delete whole group, objective of group creation is have multiple users in that group and assign permissions to whole group. if a user is removed from that group, remaining users will have all permissions as it is. as @Debayan Mukherjee​&amp;nbsp;mentioned you can go with that approach please &lt;/P&gt;</description>
    <pubDate>Thu, 03 Nov 2022 14:57:25 GMT</pubDate>
    <dc:creator>karthik_p</dc:creator>
    <dc:date>2022-11-03T14:57:25Z</dc:date>
    <item>
      <title>Unity catalog - How do you modify groups properly ?</title>
      <link>https://community.databricks.com/t5/data-engineering/unity-catalog-how-do-you-modify-groups-properly/m-p/24227#M16832</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the best practice to modify/delete/recreate groups properly ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In order to rename a group, the only mean was to delete/recreate. But after deletion in the account console, the permissions granted to the deleted groups in the tables were in a bad state, i.e it was then not possible to revoke the permissions. There was an error "Could not find principal with name ...". The only way to restore a proper state was to drop the catalog.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Nov 2022 13:22:52 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/unity-catalog-how-do-you-modify-groups-properly/m-p/24227#M16832</guid>
      <dc:creator>yvuignie</dc:creator>
      <dc:date>2022-11-02T13:22:52Z</dc:date>
    </item>
    <item>
      <title>Re: Unity catalog - How do you modify groups properly ?</title>
      <link>https://community.databricks.com/t5/data-engineering/unity-catalog-how-do-you-modify-groups-properly/m-p/24229#M16834</link>
      <description>&lt;P&gt;Hi @Debayan Mukherjee​&amp;nbsp;, &lt;/P&gt;&lt;P&gt;Thank you for your answer, but no it does not help. The problem is that if a group is deleted, the grants on the tables/schemas/catalogs on this group are in a bad state. There is no way to revoke the grants, because it cant find the group that was deleted with this error "Could not find principal with name ...". Only way to recover a good state is to delete the table/schema/catalog, and this is not good solution.&lt;/P&gt;&lt;P&gt;It's as if the grant on the table is assigned an id, and this id is not found anymore. The delete group  action should not be possible if grants are still referencing the group, or the delete group action should remove the grants.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Nov 2022 08:16:19 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/unity-catalog-how-do-you-modify-groups-properly/m-p/24229#M16834</guid>
      <dc:creator>yvuignie</dc:creator>
      <dc:date>2022-11-03T08:16:19Z</dc:date>
    </item>
    <item>
      <title>Re: Unity catalog - How do you modify groups properly ?</title>
      <link>https://community.databricks.com/t5/data-engineering/unity-catalog-how-do-you-modify-groups-properly/m-p/24230#M16835</link>
      <description>&lt;P&gt;@Yannick Vuignier​&amp;nbsp;why do you want to delete whole group, objective of group creation is have multiple users in that group and assign permissions to whole group. if a user is removed from that group, remaining users will have all permissions as it is. as @Debayan Mukherjee​&amp;nbsp;mentioned you can go with that approach please &lt;/P&gt;</description>
      <pubDate>Thu, 03 Nov 2022 14:57:25 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/unity-catalog-how-do-you-modify-groups-properly/m-p/24230#M16835</guid>
      <dc:creator>karthik_p</dc:creator>
      <dc:date>2022-11-03T14:57:25Z</dc:date>
    </item>
    <item>
      <title>Re: Unity catalog - How do you modify groups properly ?</title>
      <link>https://community.databricks.com/t5/data-engineering/unity-catalog-how-do-you-modify-groups-properly/m-p/24231#M16836</link>
      <description>&lt;P&gt;The problem is to rename a group, the only way is to delete and recreate. But we have to make sure to remove the grants before deleting the groups, otherwise the grants will be in a bad state and it is then not possible to revoke them.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Nov 2022 15:10:22 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/unity-catalog-how-do-you-modify-groups-properly/m-p/24231#M16836</guid>
      <dc:creator>yvuignie</dc:creator>
      <dc:date>2022-11-03T15:10:22Z</dc:date>
    </item>
    <item>
      <title>Re: Unity catalog - How do you modify groups properly ?</title>
      <link>https://community.databricks.com/t5/data-engineering/unity-catalog-how-do-you-modify-groups-properly/m-p/24232#M16837</link>
      <description>&lt;P&gt;@Yannick Vuignier​&amp;nbsp;yes got you, best way is revoke permission related to catalog/tables and then delete groups, as permissions are inherited from catalog - schema - table please @Debayan Mukherjee​&amp;nbsp;posted link has good information which can be used&lt;/P&gt;</description>
      <pubDate>Thu, 03 Nov 2022 17:20:49 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/unity-catalog-how-do-you-modify-groups-properly/m-p/24232#M16837</guid>
      <dc:creator>karthik_p</dc:creator>
      <dc:date>2022-11-03T17:20:49Z</dc:date>
    </item>
    <item>
      <title>Re: Unity catalog - How do you modify groups properly ?</title>
      <link>https://community.databricks.com/t5/data-engineering/unity-catalog-how-do-you-modify-groups-properly/m-p/24233#M16838</link>
      <description>&lt;P&gt;@karthik p​&amp;nbsp;Thank you for your answer, I wish that the delete group action should not be possible if grants are still referencing the group, or the delete group action should remove the grants. &lt;/P&gt;</description>
      <pubDate>Fri, 04 Nov 2022 07:51:20 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/unity-catalog-how-do-you-modify-groups-properly/m-p/24233#M16838</guid>
      <dc:creator>yvuignie</dc:creator>
      <dc:date>2022-11-04T07:51:20Z</dc:date>
    </item>
    <item>
      <title>Re: Unity catalog - How do you modify groups properly ?</title>
      <link>https://community.databricks.com/t5/data-engineering/unity-catalog-how-do-you-modify-groups-properly/m-p/24234#M16839</link>
      <description>&lt;P&gt;Hi @Yannick Vuignier​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope all is well! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just wanted to check in if you were able to resolve your issue, and would you be happy to share the solution or &lt;B&gt;mark an answer as best&lt;/B&gt;? Else please let us know if you need more help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We'd love to hear from you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 06 Nov 2022 08:29:16 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/unity-catalog-how-do-you-modify-groups-properly/m-p/24234#M16839</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-11-06T08:29:16Z</dc:date>
    </item>
    <item>
      <title>Re: Unity catalog - How do you modify groups properly ?</title>
      <link>https://community.databricks.com/t5/data-engineering/unity-catalog-how-do-you-modify-groups-properly/m-p/24235#M16840</link>
      <description>&lt;P&gt;After checking with Microsoft support: "this issue is happening only temporarily due to the browser cache and the issue is resolved after a few mins and we don't see that after the browser cache has been updated. This could be expected with the eventual consistency."&lt;/P&gt;</description>
      <pubDate>Wed, 16 Nov 2022 08:28:47 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/unity-catalog-how-do-you-modify-groups-properly/m-p/24235#M16840</guid>
      <dc:creator>yvuignie</dc:creator>
      <dc:date>2022-11-16T08:28:47Z</dc:date>
    </item>
    <item>
      <title>Re: Unity catalog - How do you modify groups properly ?</title>
      <link>https://community.databricks.com/t5/data-engineering/unity-catalog-how-do-you-modify-groups-properly/m-p/24236#M16841</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to reopen this thread, as I have exactly the same issue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also tried to rename a group name and it makes the catalog permissions to be in a bad state. I am not able to revoke access to this group using the Databricks UI nor REST API. I also tried to recreate the group with the same name, but it doesn't help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue is not related to the browser cache, because I use Terraform/REST API&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way to remove this permission without recreating whole catalog?&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2023 15:24:24 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/unity-catalog-how-do-you-modify-groups-properly/m-p/24236#M16841</guid>
      <dc:creator>156948</dc:creator>
      <dc:date>2023-04-05T15:24:24Z</dc:date>
    </item>
    <item>
      <title>Re: Unity catalog - How do you modify groups properly ?</title>
      <link>https://community.databricks.com/t5/data-engineering/unity-catalog-how-do-you-modify-groups-properly/m-p/24228#M16833</link>
      <description>&lt;P&gt;Hi @Yannick Vuignier​&amp;nbsp;, Securable objects in Unity Catalog are hierarchical and privileges are inherited downward. You can assign and revoke permissions using Data Explorer, SQL commands, or REST APIs.&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/data-governance/unity-catalog/manage-privileges/index.html" alt="https://docs.databricks.com/data-governance/unity-catalog/manage-privileges/index.html" target="_blank"&gt;https://docs.databricks.com/data-governance/unity-catalog/manage-privileges/index.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let us know if this does not help. &lt;/P&gt;</description>
      <pubDate>Thu, 03 Nov 2022 07:01:40 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/unity-catalog-how-do-you-modify-groups-properly/m-p/24228#M16833</guid>
      <dc:creator>Debayan</dc:creator>
      <dc:date>2022-11-03T07:01:40Z</dc:date>
    </item>
    <item>
      <title>Re: Unity catalog - How do you modify groups properly ?</title>
      <link>https://community.databricks.com/t5/data-engineering/unity-catalog-how-do-you-modify-groups-properly/m-p/60311#M31634</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have exactly the same issue - I am also using terraform.&lt;/P&gt;&lt;P&gt;I deleted a group and the catalog permissions are in bad state.&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;I am not able to revoke access to this group using the Databricks UI nor REST API. I also tried to recreate the group with the same name, but it doesn't help&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;How can I fix the permissions?&lt;/P&gt;</description>
      <pubDate>Thu, 15 Feb 2024 13:04:12 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/unity-catalog-how-do-you-modify-groups-properly/m-p/60311#M31634</guid>
      <dc:creator>RobinK</dc:creator>
      <dc:date>2024-02-15T13:04:12Z</dc:date>
    </item>
    <item>
      <title>Re: Unity catalog - How do you modify groups properly ?</title>
      <link>https://community.databricks.com/t5/data-engineering/unity-catalog-how-do-you-modify-groups-properly/m-p/60354#M31649</link>
      <description>&lt;P&gt;Update: If you know the Id of the deleted group, you can recreate it with the Databricks Rest API:&amp;nbsp;&lt;A href="https://docs.databricks.com/api/account/accountgroups/create" target="_blank"&gt;https://docs.databricks.com/api/account/accountgroups/create&lt;/A&gt;&amp;nbsp;(you can set name and id in the request)&lt;/P&gt;</description>
      <pubDate>Fri, 16 Feb 2024 06:30:08 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/unity-catalog-how-do-you-modify-groups-properly/m-p/60354#M31649</guid>
      <dc:creator>RobinK</dc:creator>
      <dc:date>2024-02-16T06:30:08Z</dc:date>
    </item>
    <item>
      <title>Re: Unity catalog - How do you modify groups properly ?</title>
      <link>https://community.databricks.com/t5/data-engineering/unity-catalog-how-do-you-modify-groups-properly/m-p/77498#M35442</link>
      <description>&lt;P&gt;Hello RobinK,&lt;BR /&gt;&lt;BR /&gt;I know the Id of the deleted group but I don't manage to re-create the group with the same Id.&lt;BR /&gt;The API you sent the link can indeed take an "Id", but this one is ignored..&lt;BR /&gt;Do you have an idea why?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2024 15:21:15 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/unity-catalog-how-do-you-modify-groups-properly/m-p/77498#M35442</guid>
      <dc:creator>loic</dc:creator>
      <dc:date>2024-07-09T15:21:15Z</dc:date>
    </item>
  </channel>
</rss>

