Closed trishaanand closed 2 days ago
The changes introduced in this pull request involve significant updates to the DatabaseChangelog2
and MigrationHelperMethods
classes, focusing on database migration functionalities. Key modifications include the replacement of CacheableRepositoryHelper
with PermissionGroupRepository
in methods related to user permissions and cache eviction. New migration methods for MSSQL and Oracle plugins have been added, along with enhancements to index creation for improved query performance. The updates aim to refine permission management and ensure proper plugin configurations.
File Path | Change Summary |
---|---|
app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/DatabaseChangelog2.java |
- Updated updateSuperUsers method to use PermissionGroupRepository . - Added new migration methods: addSslModeSettingsForExistingMssqlDatasource , addOraclePlugin , and updateOraclePluginName . - Modified createThemesIndices and addPermissionGroupIndex for index management. - Updated createSystemThemes3 for anonymous user access to themes. |
app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/MigrationHelperMethods.java |
- Changed evictPermissionCacheForUsers method to use PermissionGroupRepository . - Minor formatting and import adjustments. |
DatabaseChangelog1
class, which is related to database management and migration functionalities, similar to the changes made in the DatabaseChangelog2
class in the main PR. Both PRs involve updates to migration methods and enhancements to database indexing.Bug
In the land of code where changes flow,
Permissions shift and plugins grow.
With indexes set and caches cleared,
A migration tale thatβs now revered.
Super users updated, themes in sight,
A database dance, oh what a delight! π
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Using feature flagged function to evict cache to ensure correct cache line gets evicted depending on the flag
Description
Fixes https://github.com/appsmithorg/appsmith/issues/33741
Automation
/test all
:mag: Cypress test results
Communication
Should the DevRel and Marketing teams inform users about this change?
Summary by CodeRabbit
New Features
Bug Fixes
Chores