SamWheating opened a new pull request #18617: URL: https://github.com/apache/airflow/pull/18617
<!-- Thank you for contributing! Please make sure that your code changes are covered with tests. And in case of new features or big changes remember to adjust the documentation. Feel free to ping committers for the review! In case of existing issue, reference it using one of the following: closes: #ISSUE related: #ISSUE How to write a good git commit message: http://chris.beams.io/posts/git-commit/ --> In flask-appbuilder 3.2.0 the `SecurityManager.add_user()` method was extended to accept a list of roles rather than a single role: https://github.com/dpgaspar/Flask-AppBuilder/blob/3d351c913d7e1e686e3ea939278c9afd5ac2d6b9/flask_appbuilder/security/sqla/manager.py#L188-L209) This means we can remove some of the unnecessary logic for creating a user with multiple roles. I don't think I need to add any additional tests as there's already coverage for these cases. -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
