Browse Source
Add missing Authorize attribute to setting-management
pull/13271/head
Roc
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
0 deletions
-
modules/setting-management/src/Volo.Abp.SettingManagement.Web/Pages/SettingManagement/Index.cshtml.cs
|
|
|
@ -1,5 +1,6 @@ |
|
|
|
using System.Threading.Tasks; |
|
|
|
using Microsoft.Extensions.Options; |
|
|
|
using Microsoft.AspNetCore.Authorization; |
|
|
|
using Microsoft.AspNetCore.Mvc; |
|
|
|
using Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations; |
|
|
|
using Volo.Abp.AspNetCore.Mvc.UI.RazorPages; |
|
|
|
@ -8,6 +9,7 @@ using Volo.Abp.Features; |
|
|
|
|
|
|
|
namespace Volo.Abp.SettingManagement.Web.Pages.SettingManagement; |
|
|
|
|
|
|
|
[Authorize] |
|
|
|
[RequiresFeature(SettingManagementFeatures.Enable)] |
|
|
|
public class IndexModel : AbpPageModel |
|
|
|
{ |
|
|
|
|