assertAllowedBundle method
FR-TENANT-004
Implementation
void assertAllowedBundle(String bundleId) {
final ctx = _current;
if (ctx == null) return;
if (!ctx.allowedBundleIds.contains(bundleId)) {
throw TenantAccessDeniedException(
resource: 'bundle:$bundleId',
reason: 'Not in tenant allowlist',
);
}
}