Data tab: linked records can’t be opened while the app is previewed as a non-admin user

Steps to reproduce

  1. Have two related tables, e.g. Companies and Contacts (Contact → Company).
  2. Add a permission rule for a non-admin role that only lets users see their own records (record filter based on the logged-in user).
  3. In the app, preview as a user with that role.
  4. Go to the Data tab, open the Contacts table and click on a linked Company in any row.

Result: “Record cannot be found” for every linked record, except the ones the previewed user is allowed to see.

Expected: I’m not sure whether this is intended behavior, but it seems odd. The Data tab has no role or user selector, the tables themselves load fine with full admin access, and only opening a linked record seems to use the permissions of the user previewed in the app. I’d expect the Data tab to use admin/data-admin access throughout, whatever is selected in the app preview.

Workaround: switch the app preview back to an admin account before working in the Data tab.

Hey @Npsydev. Thanks for flagging this. We’ve escalated this issue to our engineering for further investigation and we will keep you posted once we have an update from the team. Your workaround is the way to go meanwhile.