-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use internal Permissions Migration API by default (#3230)
This pull request introduces changes to support both legacy and new permission migration workflows in the Databricks UCX project. The key changes include adding a configuration option to toggle between the two workflows, renaming classes and methods to reflect legacy and new workflows, and updating tests accordingly. * Added a configuration option `use_legacy_permission_migration` to `WorkspaceConfig` to toggle between legacy and new permission migration workflows. * Updated methods in `workflows.py` to skip certain steps if `use_legacy_permission_migration` is not enabled. [[1]](diffhunk://#diff-adc2edb9e75e6050728aef658ad15e7556eca8f4149a890d87e930bdb2822d5cR168-R170) [[2]](diffhunk://#diff-adc2edb9e75e6050728aef658ad15e7556eca8f4149a890d87e930bdb2822d5cR180-R182) * Renamed `GroupMigration` to `LegacyGroupMigration` and updated related method names to reflect the legacy workflow. [[1]](diffhunk://#diff-bf31a0d3769d994ca8c56c723f2b9f2fa2418b61f705bd979760af2e6e540ecbL24-R24) [[2]](diffhunk://#diff-bf31a0d3769d994ca8c56c723f2b9f2fa2418b61f705bd979760af2e6e540ecbL51-R51) [[3]](diffhunk://#diff-5e6b7befe1ff9f16445d8cc20f282caedf1e2c80ff8bd44ca32b43da38cf3a52L10-R39) [[4]](diffhunk://#diff-5e6b7befe1ff9f16445d8cc20f282caedf1e2c80ff8bd44ca32b43da38cf3a52R53-R55) [[5]](diffhunk://#diff-5e6b7befe1ff9f16445d8cc20f282caedf1e2c80ff8bd44ca32b43da38cf3a52R65-R105) [[6]](diffhunk://#diff-5e6b7befe1ff9f16445d8cc20f282caedf1e2c80ff8bd44ca32b43da38cf3a52R122-R124) [[7]](diffhunk://#diff-5e6b7befe1ff9f16445d8cc20f282caedf1e2c80ff8bd44ca32b43da38cf3a52R142-R152) [[8]](diffhunk://#diff-7c7d6f60d52e8ce3b7d47da66d46dd08b55aafba824c0bb9418d392d6a211ecaL14-R14) [[9]](diffhunk://#diff-7c7d6f60d52e8ce3b7d47da66d46dd08b55aafba824c0bb9418d392d6a211ecaL26-R32) * Updated integration and unit tests to use the new configuration option and renamed classes/methods. [[1]](diffhunk://#diff-defae77adab2fc55d5d13129dbf07a108192e13adedd1daccb969b3c3628c1f1L1-L15) [[2]](diffhunk://#diff-defae77adab2fc55d5d13129dbf07a108192e13adedd1daccb969b3c3628c1f1L45-R53) [[3]](diffhunk://#diff-defae77adab2fc55d5d13129dbf07a108192e13adedd1daccb969b3c3628c1f1R91-L127) [[4]](diffhunk://#diff-72753dfa5bb6d8d548f60244277f9f0e17ae5f207060819d328a26d2ec5a4b1bL19-R19) [[5]](diffhunk://#diff-72753dfa5bb6d8d548f60244277f9f0e17ae5f207060819d328a26d2ec5a4b1bL29-R29) [[6]](diffhunk://#diff-7c7d6f60d52e8ce3b7d47da66d46dd08b55aafba824c0bb9418d392d6a211ecaL14-R14) [[7]](diffhunk://#diff-7c7d6f60d52e8ce3b7d47da66d46dd08b55aafba824c0bb9418d392d6a211ecaL26-R32)
- Loading branch information
Showing
7 changed files
with
63 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters