How to set the environment to staging for a group of users?

Hello!

We have a permission group of users that have access only to some of the apps (pages) that I created. It works fine, however they get to use the production environment. What can I do to restrict access only to the staging environment? Our company uses the Business plan, if relevant.

Also asked for help on Discord, but I usually get no response there.

What I tried:

  • changing the default environment (which is set to production), but I can't do that, as it seems.
  • read through "customize app urls" docs but setting the _environment to staging simply does not work. What works is sending to users the customized URL and append the query params (e.g. https://test.retool.com/app/testapp?_environment=staging) but this is not an option, since the user can change that at any time.

I would appreciate any kind of help.

Thanks in advance!

1 Like