Browse Source
Merge pull request #16982 from abpframework/liangshiwei/timezone
Check timezone settings page permission
pull/16983/head
maliming
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
5 additions and
0 deletions
-
modules/setting-management/src/Volo.Abp.SettingManagement.Web/Settings/TimeZonePageContributor.cs
|
|
|
@ -10,6 +10,11 @@ namespace Volo.Abp.SettingManagement.Web.Settings; |
|
|
|
|
|
|
|
public class TimeZonePageContributor : SettingPageContributorBase |
|
|
|
{ |
|
|
|
public TimeZonePageContributor() |
|
|
|
{ |
|
|
|
RequiredPermissions(SettingManagementPermissions.TimeZone); |
|
|
|
} |
|
|
|
|
|
|
|
public override Task ConfigureAsync(SettingPageCreationContext context) |
|
|
|
{ |
|
|
|
var l = context.ServiceProvider.GetRequiredService<IStringLocalizer<AbpSettingManagementResource>>(); |
|
|
|
|