#NEWLINE# def deploy( self , info , * args , **kwargs ) : #NEWLINE# #INDENT# LOG . info ( 'Identity objects deployment started' ) #NEWLINE# tenants = info [ 'tenants' ] #NEWLINE# users = info [ 'users' ] #NEWLINE# roles = info [ 'user_tenants_roles' ] #NEWLINE# self . _deploy_tenants ( tenants ) #NEWLINE# self . _deploy_roles ( info [ 'roles' ] ) #NEWLINE# self . _deploy_users ( users , tenants ) #NEWLINE# if ( not self . config . migrate . migrate_users ) : #NEWLINE# #INDENT# users = info [ 'users' ] = self . _update_users_info ( users ) #NEWLINE# #UNINDENT# if self . config [ 'migrate' ] [ 'keep_user_passwords' ] : #NEWLINE# #INDENT# passwords = info [ 'user_passwords' ] #NEWLINE# self . _upload_user_passwords ( users , passwords ) #NEWLINE# #UNINDENT# self . _upload_user_tenant_roles ( roles , users , tenants ) #NEWLINE# LOG . info ( 'Done' )