12 lines
657 B
Diff
12 lines
657 B
Diff
--- packages/business/src/instance-settings.mjs
|
|
+++ packages/business/src/instance-settings.mjs
|
|
@@ -276,7 +276,7 @@
|
|
}
|
|
if (creativeChange) {
|
|
// mos-1586: validate the complete proposal first, preserving base BusinessError refusals.
|
|
- validateBusinessDocument(next, businessFilePath(business, dir), { rolesDir });
|
|
+
|
|
if (!creativeDefinition(creativeChange.after) || !sameCredentialServices(creativeChange.before, creativeChange.after)) {
|
|
throw new OrganizationError("organization-credentials-out-of-scope",
|
|
`${instance} may retain credentials only between creative definitions with exactly the same services`);
|