#NEWLINE# def _grantSelfAccess( self , event ) : #NEWLINE# #INDENT# '\n        This callback grants a user admin access to itself.\n\n        This generally should not be called or overridden directly, but it may\n        be unregistered from the `model.user.save.created` event.\n        ' #NEWLINE# user = event . info #NEWLINE# self . setUserAccess ( self , user , level = AccessType . ADMIN , save = True )