azure Synapse anayltics Row level security - Stack Overflow

admin2025-04-18  4

In synapse serverless SQL pool OR dedicated SQL pool, can row level security(RLS) be implemented based on table column value and logged in identity (azure AD group or AD user) say, I have table rows with 2 columns name and visibility:

name visibility
Bob public
Andrew hide

In synapse serverless SQL pool OR dedicated SQL pool, can row level security(RLS) be implemented based on table column value and logged in identity (azure AD group or AD user) say, I have table rows with 2 columns name and visibility:

name visibility
Bob public
Andrew hide

And I have an adgroupA or userA and adgroupB or userB.

When adgroupA or ADuserA querys data using "select" he should not see row with "visibilty = hide", but adgroupB or userB should see all rows irrespective of visibility. I know that Security policy and predicate function has to be created, but how to do this mapping of column value to Azure Adgroup(s) or ADuser.

Thanks in advance!!!

Share Improve this question asked Jan 29 at 15:29 SriSri 798 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

Row level security is not supported in azure sql seververless, it is supported in the dedicated pool

here is a link from microsoft, it would help if you had clearer requirements from help:

https://techcommunity.microsoft.com/blog/azuresynapseanalyticsblog/how-to-implement-row-level-security-in-serverless-sql-pools/2354759

转载请注明原文地址:http://anycun.com/QandA/1744956068a89999.html