Browse Source
feat: add culture-specific routing for account, authentication, role, user, setting, and tenant management pages
pull/25235/head
maliming
4 weeks ago
No known key found for this signature in database
GPG Key ID: A646B9CB645ECEA4
6 changed files with
6 additions and
0 deletions
-
modules/account/src/Volo.Abp.Account.Blazor.MudBlazor/Pages/Account/AccountManage.razor
-
modules/basic-theme/src/Volo.Abp.AspNetCore.Components.WebAssembly.MudBlazorBasicTheme/Pages/Authentication.razor
-
modules/identity/src/Volo.Abp.Identity.Blazor.MudBlazor/Pages/Identity/RoleManagement.razor
-
modules/identity/src/Volo.Abp.Identity.Blazor.MudBlazor/Pages/Identity/UserManagement.razor
-
modules/setting-management/src/Volo.Abp.SettingManagement.Blazor.MudBlazor/Pages/SettingManagement/SettingManagement.razor
-
modules/tenant-management/src/Volo.Abp.TenantManagement.Blazor.MudBlazor/Pages/TenantManagement/TenantManagement.razor
|
|
|
@ -1,4 +1,5 @@ |
|
|
|
@page "/account/manage-profile" |
|
|
|
@page "/{culture}/account/manage-profile" |
|
|
|
@using global::MudBlazor |
|
|
|
@using Volo.Abp.Account.Localization |
|
|
|
@using Volo.Abp.MudBlazorUI.Components.ObjectExtending |
|
|
|
|
|
|
|
@ -1,4 +1,5 @@ |
|
|
|
@page "/authentication/{action}" |
|
|
|
@page "/{culture}/authentication/{action}" |
|
|
|
@using Microsoft.AspNetCore.Components.WebAssembly.Authentication |
|
|
|
@using Volo.Abp.AspNetCore.Components.Web.Security |
|
|
|
<RemoteAuthenticatorView Action="@Action" OnLogInSucceeded="OnLogInSucceeded" OnLogOutSucceeded="OnLogOutSucceeded" /> |
|
|
|
|
|
|
|
@ -1,4 +1,5 @@ |
|
|
|
@page "/identity/roles" |
|
|
|
@page "/{culture}/identity/roles" |
|
|
|
@attribute [Authorize(IdentityPermissions.Roles.Default)] |
|
|
|
@using global::MudBlazor |
|
|
|
@using Volo.Abp.Identity |
|
|
|
|
|
|
|
@ -1,4 +1,5 @@ |
|
|
|
@page "/identity/users" |
|
|
|
@page "/{culture}/identity/users" |
|
|
|
@attribute [Authorize(IdentityPermissions.Users.Default)] |
|
|
|
@using Microsoft.AspNetCore.Authorization |
|
|
|
@using Volo.Abp.PermissionManagement.Blazor.MudBlazor.Components |
|
|
|
|
|
|
|
@ -1,4 +1,5 @@ |
|
|
|
@page "/setting-management" |
|
|
|
@page "/{culture}/setting-management" |
|
|
|
@using Microsoft.AspNetCore.Authorization |
|
|
|
@using Volo.Abp.AspNetCore.Components.Web.Theming.MudBlazor.Components |
|
|
|
@using Volo.Abp.Features |
|
|
|
|
|
|
|
@ -1,4 +1,5 @@ |
|
|
|
@page "/tenant-management/tenants" |
|
|
|
@page "/{culture}/tenant-management/tenants" |
|
|
|
@attribute [Authorize(TenantManagementPermissions.Tenants.Default)] |
|
|
|
@using global::MudBlazor |
|
|
|
@using Microsoft.AspNetCore.Authorization |
|
|
|
|