Broadleaf Microservices
  • v1.0.0-latest-prod

Release Notes for 1.7.4-GA

Table of Contents

New Permissions and Scopes

New permissions and scopes have been added and should be inserted into the auth database with the following SQL:

INSERT INTO blc_security_scope ("id", "name", "open")
VALUES ('-620', 'SEND_CART_PENDING_PAYMENT_FAILED_EVENT', 'N');
INSERT INTO blc_security_scope ("id", "name", "open")
VALUES ('-621', 'TENANT_CART', 'N');

INSERT INTO blc_permission_scope ("id", "permission", "is_permission_root", "scope_id")
VALUES ('-1020', 'SEND_CART_PENDING_PAYMENT_FAILED_EVENT', 'Y', '-620');
INSERT INTO blc_permission_scope ("id", "permission", "is_permission_root", "scope_id")
VALUES ('-1021', 'TENANT_CART', 'Y', '-621');

INSERT INTO blc_client_permissions ("id", "permission")
VALUES ('cartopsclient', 'UPDATE_SEND_CART_PENDING_PAYMENT_FAILED_EVENT');
INSERT INTO blc_client_permissions ("id", "permission")
VALUES ('cartopsclient', 'ALL_TENANT_CART');

INSERT INTO blc_client_scopes ("id", "scope")
VALUES ('cartopsclient', 'SEND_CART_PENDING_PAYMENT_FAILED_EVENT');
INSERT INTO blc_client_scopes ("id", "scope")
VALUES ('cartopsclient', 'TENANT_CART');

If you’re consuming the openapi client for use with OpenAPI, the following permission updates are necessary:

INSERT INTO blc_client_scopes (id, "scope") VALUES('openapi', 'SEND_CART_PENDING_PAYMENT_FAILED_EVENT');
INSERT INTO blc_client_scopes (id, "scope") VALUES('openapi', 'TENANT_CART');

INSERT INTO blc_client_permissions (id, "permission") VALUES('openapi', 'UPDATE_SEND_CART_PENDING_PAYMENT_FAILED_EVENT');
INSERT INTO blc_client_permissions (id, "permission") VALUES('openapi', 'ALL_TENANT_CART');