def getAPIUser(current_user, public_id): return IPContainer.getAPIUser(public_id)
def getAPIUser(current_user, public_id): if current_user._admin: return IPContainer.getAPIUser(public_id) return jsonify(message="You're not an admin.")