So, I was digging around in the WPMU core today (and have been in the past as well), and discovered that instead of a traditional has_cap()
call, a WPMU only function (is_site_admin) is used throughout the code.
My problem with it is this, it makes it impossible to override some features without hacking the core (which is a No, No, in my book). Using the same base functionality (is username in array of site admins), a dynamic "site_admin" role would be all that is needed to change over the functionality. Basically the "site_admin" role would not exist in the database, but as a "ghost role" if you will, only applied to users in the site admins array on WP load. Then, instead of is_site_admin() we could be more specific like: has_cap('add_users_without_confirmation').
I think this is important, because then all modifications could be contained in a plugin, and give certain users additional power w/o granting them full site_admin status on a MU installation.
Was there a specific reason it was done this way to begin with? Finally, I am totally new to the forums or the dev team on MU, so forgive me if this is posted in the wrong area... if I should be barking up a different tree, let me know!
I would be willing to make the changes and send a diff, if it is something that would be considered by the MU team.