Migrate data to system_access_group_microsoft_applications
All threads resolved!
All threads resolved!
Compare changes
Migrates data from SystemAccess::MicrosoftApplication
to SystemAccess::GroupMicrosoftApplication
. This is to enable the table to be split between instance application records for instance-wide SAML sync, and per-group application records for group-based SAML sync. This way we can shard the data appropriately for Cells.
During the transition to using the new table, data will be written to both tables so that we can seamlessly enable and disable the feature flag without disruption for users.
Please include cross links to any resources that are relevant to this MR. This will give reviewers and future readers helpful context to give an efficient review of the changes introduced.
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
No user-visible changes
Before switching to this branch:
group_saml
provider enabled. You may need to be simulating a SaaS instance
system_access_microsoft_applications
tableSwitch to this branch, and then:
system_access_microsoft_applications
is copied to system_access_group_microsoft_applications
group = Group.find_by_path('atevans-sso')
group.system_access_microsoft_application
client-xid
or graph_endpoint
values::Feature.enable(:group_microsoft_applications_table)
group = Group.find_by_path('atevans-sso')
group.system_access_microsoft_application
GroupMicrosoftApplication
record was updatedMicrosoftApplication
record was also updatedRelated to #495499 (closed)