Documentation Home

3.1.x to 3.2.0 Migration

This module requires at least Broadleaf 5.2.0-GA

What's changed?

  1. Removed most XML configurations in favor of configuration classes
  2. Introduced a new system property
  3. Introduced new admin permissions

Migration

New System Properties

  • multitenant.blPriceLists.solr.priceListCatalogFieldName (default value: priceListCatalog_s) - The solr schema name of the PriceList Catalog discriminator field

New Admin Permissions

INSERT INTO BLC_ADMIN_PERMISSION (ADMIN_PERMISSION_ID, DESCRIPTION, NAME, PERMISSION_TYPE, CONTEXT_TYPE, IS_FRIENDLY) VALUES (-20005,'Read Catalogs','PERMISSION_READ_CATALOGS', 'READ', NULL, FALSE);
INSERT INTO BLC_ADMIN_PERMISSION_ENTITY (ADMIN_PERMISSION_ENTITY_ID, CEILING_ENTITY, ADMIN_PERMISSION_ID) VALUES (-20011, 'org.broadleafcommerce.common.site.domain.Catalog', -20005);

INSERT INTO BLC_ADMIN_PERMISSION (ADMIN_PERMISSION_ID, DESCRIPTION, NAME, PERMISSION_TYPE, IS_FRIENDLY) VALUES (-20015,'Read Catalogs','PERMISSION_READ_CATALOGS', 'READ', TRUE);
INSERT INTO BLC_ADMIN_PERMISSION_XREF (ADMIN_PERMISSION_ID, CHILD_PERMISSION_ID) VALUES (-20015, -20005);

INSERT INTO BLC_ADMIN_SECTION (ADMIN_SECTION_ID, DISPLAY_ORDER, ADMIN_MODULE_ID, NAME, SECTION_KEY, URL, USE_DEFAULT_HANDLER, CEILING_ENTITY) VALUES (-20008, 1000, -1, 'CatalogsRead', 'BLCCatalogsRead', '/catalog_read', FALSE, 'org.broadleafcommerce.common.site.domain.Catalog');
INSERT INTO BLC_ADMIN_SEC_PERM_XREF (ADMIN_SECTION_ID, ADMIN_PERMISSION_ID) VALUES (-20008,-20015);

INSERT INTO BLC_ADMIN_ROLE_PERMISSION_XREF (ADMIN_ROLE_ID, ADMIN_PERMISSION_ID) VALUES (-1,-20015);