I want to be able to change the default environment.
We have created a new Retool production environment (let's call it "production-new") that we would like to switch to (and get rid of the old one "production"). That is currently not possible.
Hey @david.m! This is on our roadmap, and I just added this thread to the internal ticket for tracking. I'll make sure to update this thread with any news
We have checked that the new users that we create are getting default environment as Development, is there a way that we can have the users who get Production environment as default?
Hey @Salman! Oh, interesting I believe the default environment is set by a cookie (so if you switch an app to Prod, close it, open another app, it'll be in the Prod environment as well). Not sure why all your new users are defaulting to the Dev environment (the environment default should be user/browser specific).
As a potential workaround, you could have your users start off in an app with the _environment URL param set to your Production environment as a way to set their default! Would something like that work for you?
May I ask you if you have any updates on this subject ?
It would actually be really helpful to be able to change the default environment or at least to be able to change the default's environment name which can only be "production"...
Because the default Retool environment is "production" and can't be change, my problem is when I want to block some applications I have on staging for example, to connect and access to the production environment.
My concrete example is :
A toolbar menu with 4 applications
4 of them needs to connect to staging
But only 2 needs to connect to production (I can easily hide and disable those application but with the url I can still access to the app on any environment and this represent a security alert)
A simple renaming would have worked ; or an action to block an entire app according to the environment.