|
|
|
@ -5,6 +5,8 @@ using Volo.Abp.AspNetCore.Mvc.UI.Bootstrap; |
|
|
|
using Volo.Abp.AutoMapper; |
|
|
|
using Volo.Abp.FeatureManagement; |
|
|
|
using Volo.Abp.Modularity; |
|
|
|
using Volo.Abp.ObjectExtending; |
|
|
|
using Volo.Abp.ObjectExtending.Modularity; |
|
|
|
using Volo.Abp.TenantManagement.Localization; |
|
|
|
using Volo.Abp.TenantManagement.Web.Navigation; |
|
|
|
using Volo.Abp.UI.Navigation; |
|
|
|
@ -57,5 +59,16 @@ namespace Volo.Abp.TenantManagement.Web |
|
|
|
options.Conventions.AuthorizePage("/TenantManagement/Tenants/ConnectionStrings", TenantManagementPermissions.Tenants.ManageConnectionStrings); |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
public override void PostConfigureServices(ServiceConfigurationContext context) |
|
|
|
{ |
|
|
|
ModuleExtensionConfigurationHelper |
|
|
|
.ApplyEntityConfigurationToUi( |
|
|
|
TenantManagementModuleExtensionConsts.ModuleName, |
|
|
|
TenantManagementModuleExtensionConsts.EntityNames.Tenant, |
|
|
|
createFormTypes: new[] { typeof(Volo.Abp.TenantManagement.Web.Pages.TenantManagement.Tenants.CreateModalModel.TenantInfoModel) }, |
|
|
|
editFormTypes: new[] { typeof(Volo.Abp.TenantManagement.Web.Pages.TenantManagement.Tenants.EditModalModel.TenantInfoModel) } |
|
|
|
); |
|
|
|
} |
|
|
|
} |
|
|
|
} |