TenantBindingConfigReaderImpl tenantBindingConfigReader =
new TenantBindingConfigReaderImpl(tenantRootDirPath);
tenantBindingConfigReader.read(useAppGeneratedBindings);
- // Note that we build permissions for all tenants, whether or not they are marked create disabled.
- // This is a hack until we can correctly run an incremental import.
- tenantBindings = tenantBindingConfigReader.getTenantBindings(
- TenantBindingConfigReaderImpl.INCLUDE_CREATE_DISABLED_TENANTS);
+
+ //
+ // Don't include disabled tenants
+ //
+ tenantBindings = tenantBindingConfigReader.getTenantBindings( TenantBindingConfigReaderImpl.EXCLUDE_CREATE_DISABLED_TENANTS);
cspaceTenantMgmntRole = buildTenantMgmntRole();
if (logger.isDebugEnabled()) {