leahecole commented on a change in pull request #6246: [AIRFLOW-5586] Improve 
CLI error messaging
URL: https://github.com/apache/airflow/pull/6246#discussion_r331071234
 
 

 ##########
 File path: airflow/bin/cli.py
 ##########
 @@ -1516,8 +1519,9 @@ def _import_users(users_list):
         roles = []
         for rolename in user['roles']:
             role = appbuilder.sm.find_role(rolename)
+            valid_roles = appbuilder.sm.get_all_roles()
 
 Review comment:
   Done

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to