@James I'm pretty sure it just does a simple if_current_user_can check. See http://codex.wordpress.org/Function_Reference/current_user_can