-- New scopes
INSERT INTO blc_security_scope (id, name, open) VALUES ('-90', 'PRODUCT_BUSINESS_TYPE', 'N');
INSERT INTO blc_permission_scope (id, permission, is_permission_root, scope_id) VALUES ('-136', 'PRODUCT_BUSINESS_TYPE', 'Y', '-90');
-- New permissions
INSERT INTO blc_user_permission (id, archived, last_updated, name, is_account_perm, user_assignable) VALUES ('-130', 'N', '2023-08-24 18:35:15.90846', 'READ_PRODUCT_BUSINESS_TYPE', 'N', 'Y');
INSERT INTO blc_user_permission (id, archived, last_updated, name, is_account_perm, user_assignable) VALUES ('-131', 'N', '2023-08-24 18:35:15.917353', 'ALL_PRODUCT_BUSINESS_TYPE', 'N', 'Y');
-- Add permissions to admin roles
INSERT INTO blc_role_permission_xref (role_id, permission_id) VALUES ('-2', '-131');
INSERT INTO blc_role_permission_xref (role_id, permission_id) VALUES ('-7', '-131');
INSERT INTO blc_role_permission_xref (role_id, permission_id) VALUES ('-201', '-131');
INSERT INTO blc_role_permission_xref (role_id, permission_id) VALUES ('-202', '-131');
-- Add client scopes and permissions
INSERT INTO blc_client_scopes (id, scope) VALUES ('anonymous', 'PRODUCT_BUSINESS_TYPE');
INSERT INTO blc_client_permissions (id, permission) VALUES ('anonymous', 'READ_PRODUCT_BUSINESS_TYPE');