This is an automated email from the ASF dual-hosted git repository.
vavila pushed a change to branch feat/async-db-perm-sync
in repository https://gitbox.apache.org/repos/asf/superset.git
from e487492fe3 Making the new API endpoint SIP-40 compatible
add 318b2878a3 Centralizing logic in a single command
No new revisions were added by this update.
Summary of changes:
superset/commands/database/sync_permissions.py | 144 +++++----
.../commands/database/sync_permissions_async.py | 101 ------
superset/commands/database/update.py | 28 +-
superset/databases/api.py | 17 +-
superset/tasks/permissions.py | 3 +-
tests/conftest.py | 35 ++-
tests/integration_tests/base_api_tests.py | 2 +-
tests/integration_tests/conftest.py | 32 --
tests/integration_tests/databases/api_tests.py | 4 +-
tests/integration_tests/security/api_tests.py | 2 +-
.../security/row_level_security_tests.py | 2 +-
tests/integration_tests/users/api_tests.py | 3 +-
.../databases/sync_permissions_async_test.py | 151 ---------
.../commands/databases/sync_permissions_test.py | 347 ++++++++++++++++-----
tests/unit_tests/commands/databases/utils_test.py | 2 +-
15 files changed, 424 insertions(+), 449 deletions(-)
delete mode 100644 superset/commands/database/sync_permissions_async.py
delete mode 100644
tests/unit_tests/commands/databases/sync_permissions_async_test.py