fix(cms): use SystemRoleConstants.Admin in /cms page auth
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
@page "/cms"
|
||||
@rendermode InteractiveServer
|
||||
@using AuthBlocksWeb.HierarchicalAuthorize
|
||||
@attribute [HierarchicalRoleAuthorize("Admin")]
|
||||
@using AuthBlocksModels.SystemDefinitions
|
||||
@attribute [HierarchicalRoleAuthorize([SystemRoleConstants.Admin])]
|
||||
|
||||
<PageTitle>DeepDrft CMS</PageTitle>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user