#NEWLINE# def save( self , * args , **kwargs ) : #NEWLINE# #INDENT# if ( self . owner_content_type == get_user_ctype ( ) ) : #NEWLINE# #INDENT# GenericUserToGroup . objects . get_or_create ( group_id = self . owner_object_id , group_content_type = self . owner_content_type , user_id = self . owner_object_id , roles = 1 ) #NEWLINE# #UNINDENT# super ( OwnerToPermission , self ) . save ( * args , ** kwargs )