Econroy
7 months agoRegular Visitor
Status:
New
OneLake Security RLS | Join tables and Call Username function
Our team would like join to our security mapping table in the rule and call the employee that is querying's username and filter by it. It would look like:
select * from my_table
inner join security_table
on security_table.projectID = my_table.projectID
where security_table.username = username()
This would allow us to dynamically set our RLS on the table.
2 Comments
- watermelonjamRegular VisitorNot possible. RLS rule SQL syntax doesn't support joins. See https://learn.microsoft.com/en-us/fabric/onelake/security/row-level-security#syntax-rules Functions such as USERPRINCIPALNAME() are also not valid. See https://community.fabric.microsoft.com/t5/Fabric-platform/Row-Level-Security-in-OneLake-preview-Major-limitations/m-p/4650566/highlight/true#M14569
- EconroyRegular VisitorHey watermelonjam - thanks for sharing the link. It's nice to see why USERNAMEPRINCIPALNAME() function is not currently available in OneLake Security. Good to know moving forward, MS is working on a solution to implement this in the future. Will keep my eyes out for any GA announcement regarding the implementation.
Recent ideas
Fix Direct Lake semantic model binding in Deployment Pipelines
When deploying Direct Lake semantic models via Deployment Pipelines, the Lakehouse source is incorrectly treated as an external SQL source. This results in broken lineage and prompts for credentials....lk12345 minutes agoAdvocate INew1.5KViews27likes2Comments:: operator for typecast in T-SQL
Introduce support for the ::type cast operator in Fabric Data Warehouse as syntactic sugar for the existing CAST(... AS type) expression. The new operator would be functionally equivalent and compile...jovanpop-msft2 hours agoMicrosoft EmployeeNew47Views7likes2CommentsAllow calls of Fabric SQL Database stored procedures from Data Warehouse
It would be great if there were a possibility to call a SQL Database stored procedures directly from a Data Warehouse stored procedures. A use case for this would be e.g. logging activities and even...Vojtech_Dolejsi5 hours agoNew MemberUnder Review2.9KViews13likes2CommentsPower BI - Org apps and cross-report drillthrough
This idea is a request to provide cross-report drill-through capability for org apps. This means being able to navigate between reports hosted in different org apps. The following sections detail why...TomMartens6 hours agoSuper UserNew1.3KViews24likes3Comments