Is there a "View as" option to see how the front end would appear to different types of users

Hi Webbers!

I have the front end of the app with filtered UI/UX based off the type of user(true security obviously rests as RLS policies in the supabase backend).
Is there a way to select the user type and see how the front would appear for that user?

@Joyce please guide!

Cheers

Hey @ruak :waving_hand:

I’d suggest picking a user that you know has a specific role and previewing your app with their profile. Then do the same for each role with a different user:

CleanShot 2026-06-09 at 16.57.28

Does that make sense?

I can’t seem to find the “connect as” box on my interface. Photo Attached.
Is this because supabase and supabase auth are configured using plugins and not via the latest Data & API section (in integrations) due to which the preview panel might be glitching/not visible for me?
@Joyce

@Joyce

  1. It does not work with backend configured through supabase data/auth plugins(maybe a deprecated feature or glitch?)
  2. Just to avail this feature, and to be consistent with latest weweb Data&API features, i removed my supabase plugins&auth and learnt the hard way that it took away all my collections and certain links to functions in workflows even when i connected them back via data&api, weeks of work was undone. But lesson learnt. It would be good to have a warning pop up that tells this.
  3. Even after setting the data&api up, i can only “connect as” myself (i’m using supabase auth and have a login via otp system if that matters in anyway). I see another greyed out option saying “managed by supabase” The whole reason i went though this was to be able to view as any user, to see how their front end looks but the users list won’t show up on the connect as drop down even though they exist in supabase auth). Am i missing a step ?