Forum Discussion

g3kuser's avatar
g3kuser
Icon for Helper II rankHelper II
3 months ago
Solved

Issue with Onelake security RLS

Hi,   I am testing onelake security on lakehouse and can't get it working. As a test I have set it up for a single user. User has no access granted on the workspace instead the lakehouse was share...
  • Shai_Karmani's avatar
    3 months ago

    This is the expected behavior once you remove the DefaultRole. With OneLake Security enforced, item-level Read + ReadAll on the lakehouse no longer grants access to the underlying table paths on its own; the user has to be a member of a data access role that actually includes those tables. Your test user is not in the ALLTables role, so OneLake correctly returns UnauthorizedToAccessTableFiles.

     

    Two options to fix it: add the test user (or a security group they belong to) as a member of the ALLTables role, or if you want the pre-role behavior back, re-create the DefaultRole so ReadAll on the item once again maps to reading all tables.

     

    After you update role membership, wait a few minutes for the change to propagate and have the user sign out of Fabric and back in before retrying.

     

    If this helped, a thumbs up and marking it as the accepted solution would be appreciated.

     

    Thanks,
    Shai Karmani

     

    Let's connect in LinkedIn