#NEWLINE# def allowed( self , request , project ) : #NEWLINE# #INDENT# if api . keystone . is_multi_domain_enabled ( ) : #NEWLINE# #INDENT# return api . keystone . is_domain_admin ( request ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return super ( UpdateGroupsLink , self ) . allowed ( self , project )