<?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 Can I implement Row Level Security for users when using SQL Endpoints? in Warehousing &amp; Analytics</title>
    <link>https://community.databricks.com/t5/warehousing-analytics/can-i-implement-row-level-security-for-users-when-using-sql/m-p/24187#M612</link>
    <description>&lt;P&gt;I'd like to be able to limit the rows users see when querying tables in Databricks SQL based on what access level each user is supposed to be granted. Is this possible in the SQL environment?&lt;/P&gt;</description>
    <pubDate>Fri, 21 Mar 2025 12:50:35 GMT</pubDate>
    <dc:creator>User16826992666</dc:creator>
    <dc:date>2025-03-21T12:50:35Z</dc:date>
    <item>
      <title>Can I implement Row Level Security for users when using SQL Endpoints?</title>
      <link>https://community.databricks.com/t5/warehousing-analytics/can-i-implement-row-level-security-for-users-when-using-sql/m-p/24187#M612</link>
      <description>&lt;P&gt;I'd like to be able to limit the rows users see when querying tables in Databricks SQL based on what access level each user is supposed to be granted. Is this possible in the SQL environment?&lt;/P&gt;</description>
      <pubDate>Fri, 21 Mar 2025 12:50:35 GMT</pubDate>
      <guid>https://community.databricks.com/t5/warehousing-analytics/can-i-implement-row-level-security-for-users-when-using-sql/m-p/24187#M612</guid>
      <dc:creator>User16826992666</dc:creator>
      <dc:date>2025-03-21T12:50:35Z</dc:date>
    </item>
    <item>
      <title>Re: Can I implement Row Level Security for users when using SQL Endpoints?</title>
      <link>https://community.databricks.com/t5/warehousing-analytics/can-i-implement-row-level-security-for-users-when-using-sql/m-p/24188#M613</link>
      <description>&lt;P&gt;Using dynamic views you can specify permissions down to the row or field level &lt;/P&gt;&lt;P&gt;e.g. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CREATE VIEW sales_redacted AS
SELECT
  user_id,
  country,
  product,
  total
FROM sales_raw
WHERE
  CASE
    WHEN is_member('managers') THEN TRUE
    ELSE total &amp;lt;= 1000000
  END;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;More details at &lt;A href="https://docs.databricks.com/security/access-control/table-acls/object-privileges.html#row-level-permissions" target="test_blank"&gt;https://docs.databricks.com/security/access-control/table-acls/object-privileges.html#row-level-permissions&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Fri, 18 Jun 2021 22:20:13 GMT</pubDate>
      <guid>https://community.databricks.com/t5/warehousing-analytics/can-i-implement-row-level-security-for-users-when-using-sql/m-p/24188#M613</guid>
      <dc:creator>sajith_appukutt</dc:creator>
      <dc:date>2021-06-18T22:20:13Z</dc:date>
    </item>
  </channel>
</rss>

