<?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: Lakebase -- Enable RLS in synced Table in Lakebase Discussions</title>
    <link>https://community.databricks.com/t5/lakebase-discussions/lakebase-enable-rls-in-synced-table/m-p/131492#M77</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/152834"&gt;@Advika&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;yes, I was only owner in UC, the Lakebase owner is some databricks_writer, and features like RLS seem to be restricted. Since Lakebase is quite new, I do not yet fully understand the interaction between UC concepts and Lakebase concepts. Creating a view does the trick.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 10 Sep 2025 06:58:24 GMT</pubDate>
    <dc:creator>DaPo</dc:creator>
    <dc:date>2025-09-10T06:58:24Z</dc:date>
    <item>
      <title>Lakebase -- Enable RLS in synced Table</title>
      <link>https://community.databricks.com/t5/lakebase-discussions/lakebase-enable-rls-in-synced-table/m-p/130841#M75</link>
      <description>&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;I am currently testing Lakebase for integration in our overall system. In particular I need to enable RLS on a Lakebase table, which is synced from a "Delta Streaming Table" in UC. Setting up the data sync was no trouble, in UC I am the owner of the table. Enabling RLS is somewhat more troublesome. Here is the steps, I have tried (without success):&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Create a Database role tied to my databricks User, which has all privileges including&amp;nbsp;&lt;EM&gt;databricks_superuser&amp;nbsp;&lt;/EM&gt;(&lt;A href="https://docs.databricks.com/aws/en/oltp/pg-roles" target="_blank"&gt;https://docs.databricks.com/aws/en/oltp/pg-roles&lt;/A&gt;)&lt;/LI&gt;&lt;LI&gt;Open the SQL-Editor, select the Lakebase instance as compute.&lt;/LI&gt;&lt;LI&gt;Run &lt;FONT face="andale mono,times"&gt;ALTER TABLE &amp;lt;my-table&amp;gt; ENABLE ROW LEVEL SECURITY;&lt;/FONT&gt; (&lt;A href="https://www.postgresql.org/docs/17/ddl-rowsecurity.html" target="_blank"&gt;https://www.postgresql.org/docs/17/ddl-rowsecurity.html&lt;/A&gt;)&lt;/LI&gt;&lt;LI&gt;Get an error: "You must be Owner of the table" (Remember, in UC I am the owner).&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;I assume, that I am missing something here, how the interaction between databricks user and postgres role happens. So what am I missing?&lt;/P&gt;&lt;P&gt;Also: Are there any possibilities or plans to utilize UC Row-Filters with Lakebase (&lt;A href="https://docs.databricks.com/aws/en/data-governance/unity-catalog/filters-and-masks/" target="_blank"&gt;https://docs.databricks.com/aws/en/data-governance/unity-catalog/filters-and-masks/&lt;/A&gt;)? Would be nice to have an unified integrated RLS solution for Lakebase tables and Delta tables.&lt;/P&gt;&lt;P&gt;Greetings, Daniel&lt;/P&gt;</description>
      <pubDate>Thu, 04 Sep 2025 13:24:24 GMT</pubDate>
      <guid>https://community.databricks.com/t5/lakebase-discussions/lakebase-enable-rls-in-synced-table/m-p/130841#M75</guid>
      <dc:creator>DaPo</dc:creator>
      <dc:date>2025-09-04T13:24:24Z</dc:date>
    </item>
    <item>
      <title>Re: Lakebase -- Enable RLS in synced Table</title>
      <link>https://community.databricks.com/t5/lakebase-discussions/lakebase-enable-rls-in-synced-table/m-p/131408#M76</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/117671"&gt;@DaPo&lt;/a&gt;!&lt;/P&gt;
&lt;P&gt;Could you please confirm whether you are the owner of the table within the Lakebase Postgres (not just in Unity Catalog)?&lt;BR /&gt;Also,&amp;nbsp;can you try creating a view on the synced table and then configure RLS on that view?&lt;/P&gt;</description>
      <pubDate>Tue, 09 Sep 2025 14:23:46 GMT</pubDate>
      <guid>https://community.databricks.com/t5/lakebase-discussions/lakebase-enable-rls-in-synced-table/m-p/131408#M76</guid>
      <dc:creator>Advika</dc:creator>
      <dc:date>2025-09-09T14:23:46Z</dc:date>
    </item>
    <item>
      <title>Re: Lakebase -- Enable RLS in synced Table</title>
      <link>https://community.databricks.com/t5/lakebase-discussions/lakebase-enable-rls-in-synced-table/m-p/131492#M77</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/152834"&gt;@Advika&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;yes, I was only owner in UC, the Lakebase owner is some databricks_writer, and features like RLS seem to be restricted. Since Lakebase is quite new, I do not yet fully understand the interaction between UC concepts and Lakebase concepts. Creating a view does the trick.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Sep 2025 06:58:24 GMT</pubDate>
      <guid>https://community.databricks.com/t5/lakebase-discussions/lakebase-enable-rls-in-synced-table/m-p/131492#M77</guid>
      <dc:creator>DaPo</dc:creator>
      <dc:date>2025-09-10T06:58:24Z</dc:date>
    </item>
    <item>
      <title>Re: Lakebase -- Enable RLS in synced Table</title>
      <link>https://community.databricks.com/t5/lakebase-discussions/lakebase-enable-rls-in-synced-table/m-p/141396#M78</link>
      <description>&lt;P&gt;You can't sync RLS from UC tables to Lakebase (yet). You can either create separate RLS rules on PG or you can create a custom pipeline that can read from the RLS UC table and use JDBC to write into Lakebase directly.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Dec 2025 11:57:23 GMT</pubDate>
      <guid>https://community.databricks.com/t5/lakebase-discussions/lakebase-enable-rls-in-synced-table/m-p/141396#M78</guid>
      <dc:creator>som_natarajan</dc:creator>
      <dc:date>2025-12-08T11:57:23Z</dc:date>
    </item>
  </channel>
</rss>

