We've also talked about adding the ability for organizations to enforce things (2fa for example), and this might be a good time to link this up. For example, we could say "superuser requires the enforcement of the default organization", and then we could configure e.g. sentry to require 2fa for access. Then authentication checks simply say "are you successfully authenticated against the Sentry org".
a bunch of this is to satisfy HIPAA requirements, while some of it is just good practice
I would also say we should have a clear UI indication that you are in superuser mode and a way to easily turn it off again.
@mitsuhiko agreed, @ckj could we change the header color?
For context, this is also moving towards a goal of moving Sentry to "Beyond Corp" security practices in all facets, and superuser is one that we currently have VPN locked.
It would be nice to extend the UI indicator to do something for development mode as well. There's definitely been times before I've had to pay extra attention to make sure I'm doing things on my localhost tab, not sentry.io tab (disabling SSO auth)
@EvanPurkhiser agreed!
(also for when you're authenticated as a different user using the 'login as' functionality)
favicon color 鈿狅笍
and sidebar color
@MaxBittker not obvious enough IMO, but could be a nice addition
favicon is crucial because i usually have local & prod tabs open, and the mistakes I make are always when switching
something subtle like this + favicon? clicking the off state could trigger a sudo prompt

@ckj imo it needs to be drastic -- e.g. change the sidebar to be a completely different color or add a giant banner at the top of the site
scenarios:
@dcramer I think drastic would be taxing on the dev experience personally. maybe something subtle + sticky if you're worried people wouldn't see it?
@ckj it doesnt have to make the whole site red, but e.g. a 20px high banner (or border?) at the top I think is acceptable
we want to avoid the mistake of someone doing something in prod and thinking its another environment
Favicon done here for development mode: https://github.com/getsentry/sentry/pull/7699
Closing this issue due to staleness. Feel free to comment here if you think we should still work on this.
Most helpful comment
favicon color 鈿狅笍
and sidebar color