It's already exposed. Our code is open source. :) I'm just suggesting swapping the inner and outer if conditionals and raising an exception in the case the user is not admin.