def _grantSelfAccess(self, event):
        user = event.info

        self.setUserAccess(user, user, level=AccessType.ADMIN, save=True)
This callback grants a user admin access to itself.
dataset/ETHPy150Open girder/girder/girder/models/user.py/User._grantSelfAccess