def requireAdmin(self, user, message=None):
        return requireAdmin(user, message)
Calling this on a user will ensure that they have admin rights.
dataset/ETHPy150Open girder/girder/girder/api/rest.py/Resource.requireAdmin