We’ve got a multi-page app built in Bubble but something we continue to run into challenges with is how to ensure that a user is authenticated and has the right permissions to view a page before the page loads. “When - page is loaded” is too late to check if you should’ve loaded the page.
I’ve seen people suggest that hiding all of the on-screen elements could be a good work around, but honestly if I have to start hacking every single displayable element to have a workflow just so I can build a secure app, I’d sooner rebuild it without Bubble.
What I think Bubble needs here is a not a “when”, but a “before” action that you can use to enforce auth and permissions. Even a page-level setting that determines whether a user is authenticated or not would be very useful.
Has anyone got suggestions that don’t involve just hiding everything?