Can Dashboard access be restricted to Test mode only?

Users sometimes want to restrict dashboard access for some members of their team, limiting their ability to perform risky actions on the account or access to sensitive live-mode data. While it is not currently possible to prevent dashboard users from accessing live mode, we can offer some alternative approaches, primarily aimed at developers: