#NEWLINE# def allowed( self , request , project ) : #NEWLINE# #INDENT# if ( api . keystone . is_multi_domain_enabled ( ) and ( not api . keystone . is_domain_admin ( project ) ) ) : #NEWLINE# #INDENT# return False #NEWLINE# #UNINDENT# return api . keystone . keystone_can_edit_project ( )