Hello folks!
So there might be a little confusion over what Retool Portals are and how they work.
When I first learned about portals I thought it was a unique type of Retool app, however, it is actually a combination of settings for paid account users(business and enterprise) to be able to white label their existing app with their own company name, logo, color scheme and other custom features.
@Liora_Waxman @trz-justin-dev When you are logged into you Retool account, click on your profile picture in the top right corner, this will display a dropdown, where you can then click on 'Settings'.
From Settings, there will be several options down the left side to click, below 'Organization', if you click on 'Branding' you will see all the features for Retool Portals. It will look like this.
@ggallese For your logistics business where you want to limit what a user can see based on who they are, you will need to upgrade to a business or enterprise plan where you can further customize user permissions to limit what they can view and do.
This would allow you to prevent users from using Resources and Queries to "test" out different locations and data inputs which might lead to different prices and data being returned.
You can read more about designating permission levels for users on our docs, you can also control what components a users can view or use by editing specific components.
To do this, first inspect the component, then go to the Appearance dropdown and using the Hidden feature to enter in custom Javascript, where you can then access properties/data with {{current_user}} and then customize the Javascript code so that if and when the code block evaluates to true the component will be hidden.
As far as users viewing the 'data source' or 'hacking' retool's data I don't believe that is possible if you don't give them permissions use use or access Resources or Queries. When you upgrade your account to paid, someone from our sales engineering team should be able to walk you through complex logic for rates and all that code logic and data will be secure and protected.
For a WMS I believe that use case has been implemented by other paid customers, but I am not 100% sure. I would say to look for further documentation and form posts about that. Would it be correct to assume the use case would be similar to a 'shopping cart/e-commerce' functionality?