I'm creating a quick plugin for myself that hides the "My Sites" panel when anyone but a super admin of a network is logged in. I'm essentially trying to keep the admins of their respective sites in their own environment and keep them away from the main admin, regardless if they have privileges or not.
My code is here:
Only issue is, level_10 includes administrators. I've done some research, but it doesn't seem that super admins have a specific user level. Is this true or do they and I just couldn't find it?
And if they don't, can I block all user's except my account (the only super admin on the network)?