#NEWLINE# def action( self , request , obj_id ) : #NEWLINE# #INDENT# user_obj = self . table . get_object_by_id ( obj_id ) #NEWLINE# group_id = self . table . kwargs [ 'group_id' ] #NEWLINE# LOG . info ( ( 'Adding user %s to group %s.' % ( user_obj . id , group_id ) ) ) #NEWLINE# api . keystone . add_group_user ( group_id , group_id = group_id , user_id = user_obj . id )