This example app contains links to other Retool apps. You can filter which links are available for the user based on their permission groups using JavaScript. For example, you can use the Hidden property to hide certain tiles if the current user isn't in the Pharmacist Manager permission group"
the {{AppSearch}} returns no data and whatever I do I cannot find any documentation that
describes this process in detail
references the available variables in UI such as {{AppSearch}} and their properties.
How can I access the apps a user has access to? Or what am I doing wrong if the AppSource should display them but it does not? Any help is appreciated
Business plan user and yes I am the Admin.
When you configure the portal page you get a sample, and in there I found what I suspect is the variables to use for accessing the apps I have access to as a user. But other than that, i cannot find any documentation, any reference ... nothing about how I can actually implement a query that takes the user group of the user and the apps to which the group has access.
This component will gain a "value" with whatever the user types into this component and seems to be set up to filter which apps are shown inside the Grid component.
As the Grid component has its data source set to be the result of the "FilteredApps" Transformer that you cropped in your screenshot.
When writing a query, you can access the groups that the current user is a part of using a javascript block of code such as current_user.groups.includes("Pharmacist Manager") for example.
I am not sure how to find a list of apps which a user has access to based on their group but you can user Javascript and some programming logic to Hide app links/components, such as the Container components inside the Grid component, if a user is not in a group that has access to them.
So that a component with !current_user.groups.includes("Pharmacist Manager") will be hidden to all users, except users that are in the Pharmacist Manager group.