Does anyone know if it is possible to hide the 'Switch sites' links in the CP for certain member groups?
Thanks.
ExpressionEngine® Answers is a question and answer site for administrators, end users, developers and designers for ExpressionEngine® CMS. It only takes a minute to sign up.
Sign up to join this communityOne possible way would be to simply hide the dropdowns in CSS
li.parent msm_sites ul{display:none}
You'd also have to do some overrides for the arrow that appears when you click it but that would get you what you needed. I don't believe there is another way of doing this. But I'd love to be proven wrong!
Not sure it's possible without at best a plugin or at worst altering main EE code (don't do this).
I understand why you might want to remove the option to change sites, however if you are concerned about certain member groups seeing too much in the control panel, you can of course replicate the control panel posting functionality using Safecracker where you can totally control the page that the user sees.
If you want to authorize ony for one specific subsite i would sugest you create a specific membergroup. Since membergroup settings are site specific you can authorize for only one subsite, members in this group will nolonger be able to switch to the other sites..