#NEWLINE# def allowed( self , request , project , cell ) : #NEWLINE# #INDENT# policy_rule = ( ( 'identity' , 'identity:update_project' ) , ) #NEWLINE# return ( ( ( cell . column . name != 'enabled' ) or ( request . user . project_id != cell . datum . id ) ) and api . keystone . keystone_can_edit_project ( ) and policy . check ( policy_rule , request ) )