-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Set role and confirm password while adding user mandatory #1758
fix: Set role and confirm password while adding user mandatory #1758
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1758 +/- ##
=======================================
Coverage 76.88% 76.88%
=======================================
Files 56 56
Lines 8136 8137 +1
=======================================
+ Hits 6255 6256 +1
Misses 1881 1881
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
Hi, thank you for contributing. Please install the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CI is failling
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good can you add a test to assert user's can't add a user without a role
Flask App Builder 3.4.3 made role and conf_password obligatory when creating user: dpgaspar/Flask-AppBuilder#1758 Our test for user creation did not have the role set (though the UI used it and the cient also allows to set it). This change adds the `roles` in our tests to enable upgrade to FAB 3.4.3 for the CI (currently tests in main fail because of the test failure)
Flask App Builder 3.4.3 made role and conf_password obligatory when creating user: dpgaspar/Flask-AppBuilder#1758 Our test for user creation did not have the role set (though the UI used it and the cient also allows to set it). This change adds the `roles` in our tests to enable upgrade to FAB 3.4.3 for the CI (currently tests in main fail because of the test failure)
Flask App Builder 3.4.3 made role and conf_password obligatory when creating user: dpgaspar/Flask-AppBuilder#1758 Our test for user creation did not have the role set (though the UI used it and the cient also allows to set it). This change adds the `roles` in our tests to enable upgrade to FAB 3.4.3 for the CI (currently tests in main fail because of the test failure) (cherry picked from commit a1a32f7)
Flask App Builder 3.4.3 made role and conf_password obligatory when creating user: dpgaspar/Flask-AppBuilder#1758 Our test for user creation did not have the role set (though the UI used it and the cient also allows to set it). This change adds the `roles` in our tests to enable upgrade to FAB 3.4.3 for the CI (currently tests in main fail because of the test failure) (cherry picked from commit a1a32f7)
Flask App Builder 3.4.3 made role and conf_password obligatory when creating user: dpgaspar/Flask-AppBuilder#1758 Our test for user creation did not have the role set (though the UI used it and the cient also allows to set it). This change adds the `roles` in our tests to enable upgrade to FAB 3.4.3 for the CI (currently tests in main fail because of the test failure) (cherry picked from commit a1a32f7c7c2df41e6150f2594a3a41bfecb76fb0) GitOrigin-RevId: 6f4d29cee2fea277eaaa11490cb5871a788dd018
Flask App Builder 3.4.3 made role and conf_password obligatory when creating user: dpgaspar/Flask-AppBuilder#1758 Our test for user creation did not have the role set (though the UI used it and the cient also allows to set it). This change adds the `roles` in our tests to enable upgrade to FAB 3.4.3 for the CI (currently tests in main fail because of the test failure) GitOrigin-RevId: a1a32f7c7c2df41e6150f2594a3a41bfecb76fb0
Flask App Builder 3.4.3 made role and conf_password obligatory when creating user: dpgaspar/Flask-AppBuilder#1758 Our test for user creation did not have the role set (though the UI used it and the cient also allows to set it). This change adds the `roles` in our tests to enable upgrade to FAB 3.4.3 for the CI (currently tests in main fail because of the test failure) GitOrigin-RevId: a1a32f7c7c2df41e6150f2594a3a41bfecb76fb0
Flask App Builder 3.4.3 made role and conf_password obligatory when creating user: dpgaspar/Flask-AppBuilder#1758 Our test for user creation did not have the role set (though the UI used it and the cient also allows to set it). This change adds the `roles` in our tests to enable upgrade to FAB 3.4.3 for the CI (currently tests in main fail because of the test failure) GitOrigin-RevId: a1a32f7c7c2df41e6150f2594a3a41bfecb76fb0
Flask App Builder 3.4.3 made role and conf_password obligatory when creating user: dpgaspar/Flask-AppBuilder#1758 Our test for user creation did not have the role set (though the UI used it and the cient also allows to set it). This change adds the `roles` in our tests to enable upgrade to FAB 3.4.3 for the CI (currently tests in main fail because of the test failure) GitOrigin-RevId: a1a32f7c7c2df41e6150f2594a3a41bfecb76fb0
Flask App Builder 3.4.3 made role and conf_password obligatory when creating user: dpgaspar/Flask-AppBuilder#1758 Our test for user creation did not have the role set (though the UI used it and the cient also allows to set it). This change adds the `roles` in our tests to enable upgrade to FAB 3.4.3 for the CI (currently tests in main fail because of the test failure) GitOrigin-RevId: a1a32f7c7c2df41e6150f2594a3a41bfecb76fb0
Flask App Builder 3.4.3 made role and conf_password obligatory when creating user: dpgaspar/Flask-AppBuilder#1758 Our test for user creation did not have the role set (though the UI used it and the cient also allows to set it). This change adds the `roles` in our tests to enable upgrade to FAB 3.4.3 for the CI (currently tests in main fail because of the test failure) GitOrigin-RevId: a1a32f7c7c2df41e6150f2594a3a41bfecb76fb0
Flask App Builder 3.4.3 made role and conf_password obligatory when creating user: dpgaspar/Flask-AppBuilder#1758 Our test for user creation did not have the role set (though the UI used it and the cient also allows to set it). This change adds the `roles` in our tests to enable upgrade to FAB 3.4.3 for the CI (currently tests in main fail because of the test failure) GitOrigin-RevId: a1a32f7c7c2df41e6150f2594a3a41bfecb76fb0
Flask App Builder 3.4.3 made role and conf_password obligatory when creating user: dpgaspar/Flask-AppBuilder#1758 Our test for user creation did not have the role set (though the UI used it and the cient also allows to set it). This change adds the `roles` in our tests to enable upgrade to FAB 3.4.3 for the CI (currently tests in main fail because of the test failure) GitOrigin-RevId: a1a32f7c7c2df41e6150f2594a3a41bfecb76fb0
Flask App Builder 3.4.3 made role and conf_password obligatory when creating user: dpgaspar/Flask-AppBuilder#1758 Our test for user creation did not have the role set (though the UI used it and the cient also allows to set it). This change adds the `roles` in our tests to enable upgrade to FAB 3.4.3 for the CI (currently tests in main fail because of the test failure) GitOrigin-RevId: a1a32f7c7c2df41e6150f2594a3a41bfecb76fb0
Description
Role and Confirm password field in user db model view were not marked as required field, so added those validators.
ADDITIONAL INFORMATION