build: 组件升级按钮授权方法支持MongoDB

#Comment
Bootstrap.Security.Mvc升级按钮授权方法,菜单未传递时内部使用 DBHelper.RetrieveAllMenus
This commit is contained in:
Argo Zhang 2019-08-24 12:51:26 +08:00
parent fe1ef671d3
commit 06f2cdd983
4 changed files with 5 additions and 5 deletions

View File

@ -10,7 +10,7 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Bootstrap.Security.Mvc" Version="2.2.12" />
<PackageReference Include="Bootstrap.Security.Mvc" Version="2.2.13" />
<PackageReference Include="Longbow.Configuration" Version="2.2.7" />
<PackageReference Include="Longbow.Tasks" Version="1.8.0" />
<PackageReference Include="Microsoft.AspNetCore.App" />

View File

@ -62,7 +62,7 @@ namespace Bootstrap.Admin
services.AddResponseCompression();
services.AddBootstrapAdminAuthentication();
services.AddSwagger();
services.AddButtonAuthorization();
services.AddButtonAuthorization(MenuHelper.RetrieveAllMenus);
services.AddDemoTask();
services.AddHttpClient<GiteeHttpClient>();
services.AddAdminHealthChecks();

View File

@ -5,8 +5,8 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Bootstrap.Security.DataAccess" Version="2.2.11" />
<PackageReference Include="Bootstrap.Security.Mvc" Version="2.2.12" />
<PackageReference Include="Bootstrap.Security.DataAccess" Version="2.2.12" />
<PackageReference Include="Bootstrap.Security.Mvc" Version="2.2.13" />
<PackageReference Include="Longbow.Configuration" Version="2.2.7" />
<PackageReference Include="Longbow.Logging" Version="2.2.12" />
<PackageReference Include="Longbow.Web" Version="2.2.15" />

View File

@ -5,7 +5,7 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Bootstrap.Security.DataAccess" Version="2.2.11" />
<PackageReference Include="Bootstrap.Security.DataAccess" Version="2.2.12" />
<PackageReference Include="Longbow.Data" Version="2.3.3" />
<PackageReference Include="Longbow.Logging" Version="2.2.12" />
<PackageReference Include="Longbow.PetaPoco" Version="1.0.2" />