I am researching if WeWeb is the tool I’d like to use for my front end of my website. I am using Supabase as my db/backend. In looking at the WeWeb pricing page I noticed that the Scale tier has Roles Based Page Access feature but the Starter tier does not. This type of functionality would be crucial to my website, but this site is a small passion project so the Scale tier is out of my price range.
I guess I’m looking for clarification on what that means on that page. Further, my use case is similar to this question:
Ultimately I’d like to have the same pages, but show “content A” or “content B” depending on what role the user is. Is this possible at the Scale pricing tier?
This is possible at both the Starter and Scale tiers.
If you want to show different content based on the user’s role, you should filter the data in the backend (not in the frontend), meaning the backend should only return the relevant information. So this is not dependent on the price tier you select for your WeWeb project.
The “Roles Based Page Access” feature is indeed limited to the Scale tier at the moment. We are planning a pricing revamp but:
I don’t know yet what will be included or not included in each tier
we don’t yet have a firm timeline as to when the new price structure will go live
That said, you don’t have to use our private pages feature to build a secure app with conditional or gated content. For example, you could create a workflow on page load to check if the user is authenticated and has the required role to access the page and redirect them to another page if they don’t. You could apply similar logic to fetch the appropriate data based on a user’s role.
It’s a little bit more work than when you’re using our private pages feature but it’s still fairly straightforward to setup
Hello @Joyce, would you have an update on the pricing revamp for the role based page access ?
Are we able to download the project file to self host including the role control even though the plan we are on is not including that function ?
Hello, there are no changes. Roles & Permissions are only available on the Scale plan. Apologies if some of the messaging sounded a bit confusing. No pricing changes are planned this year, I wrote about this in multiple threads.