I am new and loving Bubble!
I need some guidance on best practices for protecting pages and allowing access only to specific user roles.
Once logged in the workflow directs admin users to admin_home and customers to customer_home
I noticed that if I copy the url of admin_home and re-login as a customer I can paste that url and access the admin page.
I created an action to redirect any user that doesn’t = admin role back to the index and that seems to work well.
Is there a better way to universally secure the data (pages, stored data, pop-up data) found on pages from unwanted users having access to them? I want to ensure that I understand this point before moving on.
Thanks for your help.