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
Thank you @victoria, I appreciate it. Do you have a rough ETA?
@david.m no ETA just yet, but I just asked the engineers working on this and will let you know if they have one!
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?
Hey @victoria !
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"...
Thank you for your precious help !
I’m afraid I don’t have great news for you
Currently, the team in charge of environments is choosing to prioritize their resources on improving our Source Control feature.
Would you mind sharing a bit more about your use case here/reason why this feature would be helpful so I can pass it along to the team?
Hey, thanks for your response !
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.
Thanks for your help
Perfect, thank you so much for that context! Just passed it along. Will keep this thread up to date