Wire AuthBlocks 10.3.30 JWT auth; gate /cms (InteractiveAuto) behind Admin role; add CreatedByUserId migration
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="MudBlazor" Version="8.15.0" />
|
||||
<PackageReference Include="Cerebellum.AuthBlocks.Web" Version="10.3.30" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
@page "/cms"
|
||||
@rendermode InteractiveServer
|
||||
@rendermode InteractiveAuto
|
||||
@using AuthBlocksWeb.HierarchicalAuthorize
|
||||
@attribute [HierarchicalRoleAuthorize("Admin")]
|
||||
|
||||
<PageTitle>DeepDrft CMS</PageTitle>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user