#NEWLINE# def save_model( self , request , obj , form , change ) : #NEWLINE# #INDENT# super ( SourceRepositoryAdmin , self ) . save_model ( request , obj , form , self ) #NEWLINE# if ( ( not change ) and USE_OBJECT_PERMS ) : #NEWLINE# #INDENT# request . user . grant_object_perm ( obj , [ 'read' , 'write' , 'owner' ] )