<?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 How to Retrieve Admin and Non-Admin Permissions at Workspace Level in Azure Databricks. in Administration &amp; Architecture</title>
    <link>https://community.databricks.com/t5/administration-architecture/how-to-retrieve-admin-and-non-admin-permissions-at-workspace/m-p/104440#M2687</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am working on a project to document permissions for both admins and non-admin users across all relevant objects at the workspace level in Azure Databricks (e.g., tables, jobs, clusters, etc.).&lt;/P&gt;&lt;P&gt;I understand that admin-level permissions might be partially available through information schema, but detailed permissions for non-admin users likely require the Databricks REST API.&lt;/P&gt;&lt;P&gt;Could you guide me on:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;The most efficient way to retrieve and document these permissions?&lt;/LI&gt;&lt;LI&gt;Whether there are built-in tools or queries for this purpose?&lt;/LI&gt;&lt;LI&gt;Any recommended practices for structuring this data in a report?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
    <pubDate>Mon, 06 Jan 2025 22:33:20 GMT</pubDate>
    <dc:creator>xecel</dc:creator>
    <dc:date>2025-01-06T22:33:20Z</dc:date>
    <item>
      <title>How to Retrieve Admin and Non-Admin Permissions at Workspace Level in Azure Databricks.</title>
      <link>https://community.databricks.com/t5/administration-architecture/how-to-retrieve-admin-and-non-admin-permissions-at-workspace/m-p/104440#M2687</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am working on a project to document permissions for both admins and non-admin users across all relevant objects at the workspace level in Azure Databricks (e.g., tables, jobs, clusters, etc.).&lt;/P&gt;&lt;P&gt;I understand that admin-level permissions might be partially available through information schema, but detailed permissions for non-admin users likely require the Databricks REST API.&lt;/P&gt;&lt;P&gt;Could you guide me on:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;The most efficient way to retrieve and document these permissions?&lt;/LI&gt;&lt;LI&gt;Whether there are built-in tools or queries for this purpose?&lt;/LI&gt;&lt;LI&gt;Any recommended practices for structuring this data in a report?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2025 22:33:20 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/how-to-retrieve-admin-and-non-admin-permissions-at-workspace/m-p/104440#M2687</guid>
      <dc:creator>xecel</dc:creator>
      <dc:date>2025-01-06T22:33:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to Retrieve Admin and Non-Admin Permissions at Workspace Level in Azure Databricks.</title>
      <link>https://community.databricks.com/t5/administration-architecture/how-to-retrieve-admin-and-non-admin-permissions-at-workspace/m-p/104446#M2688</link>
      <description>&lt;P&gt;In Databricks the object permissions are based in the object itself and not the user. Unfortunately as of now there is no way to get all the objects permissions in a single built in query.&lt;BR /&gt;&lt;BR /&gt;There is custom options as for example for clusters, first run the API to &lt;A href="https://docs.databricks.com/api/workspace/clusters/list" target="_self"&gt;list&lt;/A&gt; clusters and save all the cluster id in a list. Once you have this list of cluster ids, you can iterate by each cluster using the &lt;A href="https://docs.databricks.com/api/workspace/clusters/getpermissions" target="_self"&gt;get permissions&lt;/A&gt; for clusters API call.&lt;BR /&gt;&lt;BR /&gt;Right now I dont have any custom code available on my side that will make this same process but it is an idea on how you can do it, it will apply the same for jobs.&lt;BR /&gt;&lt;BR /&gt;In regards tables if you are using Unity Catalog you can refer to API:&amp;nbsp;&lt;A href="https://docs.databricks.com/api/workspace/grants/get" target="_blank"&gt;https://docs.databricks.com/api/workspace/grants/get&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jan 2025 01:51:09 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/how-to-retrieve-admin-and-non-admin-permissions-at-workspace/m-p/104446#M2688</guid>
      <dc:creator>Walter_C</dc:creator>
      <dc:date>2025-01-07T01:51:09Z</dc:date>
    </item>
  </channel>
</rss>

