Highlight the current environment in CMS editor

Vote:
 

Hi,

In our team we have members who works in multiple environments simultaneously and I'm trying to minimize the risk of someone making a change in the wrong environment.
I'm mostly worrying about the production env so my idea is to change the editor background in production so it will be super clear when the member is currently editing in production.

What is the easiest way to achieve this goal?

I need at least two things:
1. A way to flag an environment as production.
2. A way to load and apply a style based on if the flag(1) is set on the CMS editor page.

The solution shouldn't be anything that needs to check the url during every request, we don't want extra overhead and web.config transforms won't do it either because release builds are used in other envs than prod.


Are there any other built-in features in EPiServer CMS that could help me solve the original issue in any other way?

#266108
Nov 02, 2021 0:57
Chris Sharp - Nov 03, 2021 19:50
Which version of CMS? I'm assuming somewhere in version 11?
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.