I would like to be able to get via JS a list of all apps the current_user can view, in order to build a custom "landing page" where users can navigate to apps (enriched with app specific "metadata" stored in the DB)
Hi @rafael_cx,
Thanks for reaching out about this. We are tracking feedback on this request, but I don't have an eta yet because it isn't currently prioritized.
For the time being, here are the workarounds:
If you use the navigation component, it will automatically hide any apps that the user doesn't have access to through permissions.
If you were on a self hosted plan, you could add your Retool instance's database and query it to find this information.
Thanks for the update! We are on self hosted. However, I tried to reverse engineer the db model, but couldn’t figure it out. Any guidance which tables I have to look at?
Oh wonderful! I believe you'd have to join a handful of tables including users, user_groups, groups, group_pages, and pages