Browse Source

Fix permission management model problem for app-nolayers template

pull/11403/head
Engincan VESKE 4 years ago
parent
commit
656ea99d40
  1. 1
      templates/app-nolayers/MyCompanyName.MyProjectName/MyCompanyName.MyProjectName.csproj
  2. 2
      templates/app-nolayers/MyCompanyName.MyProjectName/MyProjectNameModule.cs

1
templates/app-nolayers/MyCompanyName.MyProjectName/MyCompanyName.MyProjectName.csproj

@ -28,6 +28,7 @@
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\..\modules\identity\src\Volo.Abp.PermissionManagement.Domain.Identity\Volo.Abp.PermissionManagement.Domain.Identity.csproj" />
<ProjectReference Include="..\..\..\modules\identity\src\Volo.Abp.Identity.Application\Volo.Abp.Identity.Application.csproj" />
<ProjectReference Include="..\..\..\modules\identity\src\Volo.Abp.Identity.HttpApi\Volo.Abp.Identity.HttpApi.csproj" />
<ProjectReference Include="..\..\..\modules\identity\src\Volo.Abp.Identity.EntityFrameworkCore\Volo.Abp.Identity.EntityFrameworkCore.csproj" />

2
templates/app-nolayers/MyCompanyName.MyProjectName/MyProjectNameModule.cs

@ -30,6 +30,7 @@ using Volo.Abp.MultiTenancy;
using Volo.Abp.PermissionManagement;
using Volo.Abp.PermissionManagement.EntityFrameworkCore;
using Volo.Abp.PermissionManagement.HttpApi;
using Volo.Abp.PermissionManagement.Identity;
using Volo.Abp.SettingManagement;
using Volo.Abp.SettingManagement.EntityFrameworkCore;
using Volo.Abp.SettingManagement.Web;
@ -60,6 +61,7 @@ namespace MyCompanyName.MyProjectName;
typeof(AbpAccountWebIdentityServerModule),
// Identity module packages
typeof(AbpPermissionManagementDomainIdentityModule),
typeof(AbpIdentityApplicationModule),
typeof(AbpIdentityHttpApiModule),
typeof(AbpIdentityEntityFrameworkCoreModule),

Loading…
Cancel
Save