fix(#I121YU): 内置账号防止所有 Administrators 用户被降级后无法使用系统

#Comment
comment #I121YU 内置 root 账户
由于人为移除了 Administrators 角色自然是不能登陆的,系统默认创建一个 root 账户,此账户没有绑定了 Administrators 角色

#Issue
link https://gitee.com/LongbowEnterprise/BootstrapAdmin/issues/I121YU
This commit is contained in:
Argo Zhang 2019-09-12 14:26:45 +08:00
parent 12c41b046e
commit 4bd4d8b8ab
No known key found for this signature in database
GPG Key ID: 152E398953DDF19F
4 changed files with 5 additions and 4 deletions

View File

@ -10,9 +10,10 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Bootstrap.Security.DataAccess" Version="2.2.15" />
<PackageReference Include="Bootstrap.Security.Mvc" Version="2.2.16" />
<PackageReference Include="Longbow.Configuration" Version="2.2.7" />
<PackageReference Include="Longbow.Tasks" Version="2.2.22" />
<PackageReference Include="Longbow.Tasks" Version="2.2.23" />
<PackageReference Include="Microsoft.AspNetCore.App" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.Versioning" Version="3.1.6" />
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="2.2.3" PrivateAssets="All" />

View File

@ -5,7 +5,7 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Bootstrap.Security.DataAccess" Version="2.2.14" />
<PackageReference Include="Bootstrap.Security.DataAccess" Version="2.2.15" />
<PackageReference Include="Longbow.Data" Version="2.3.7" />
<PackageReference Include="Longbow.Logging" Version="2.2.13" />
<PackageReference Include="Longbow.PetaPoco" Version="1.0.2" />

View File

@ -5,7 +5,7 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Bootstrap.Security.DataAccess" Version="2.2.14" />
<PackageReference Include="Bootstrap.Security.DataAccess" Version="2.2.15" />
<PackageReference Include="Longbow.Cache" Version="2.2.15" />
<PackageReference Include="Longbow.Configuration" Version="2.2.7" />
<PackageReference Include="Longbow.Data" Version="2.3.7" />

View File

@ -16,7 +16,7 @@
<PackageReference Include="Microsoft.Data.Sqlite" Version="2.2.6" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.2.0" />
<PackageReference Include="MySql.Data" Version="8.0.17" />
<PackageReference Include="Npgsql" Version="4.0.9" />
<PackageReference Include="Npgsql" Version="4.0.10" />
<PackageReference Include="xunit" Version="2.4.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.1">
<PrivateAssets>all</PrivateAssets>