Browse Source

fix client icon and Platform Permission name

pull/164/head
cKey 5 years ago
parent
commit
2b05c2e8e9
  1. 4
      aspnet-core/modules/platform/LINGYUN.Platform.Application.Contracts/LINGYUN/Platform/Localization/ApplicationContracts/zh-Hans.json
  2. 2
      aspnet-core/modules/platform/LINGYUN.Platform.Domain/LINGYUN/Platform/PlatformDataSeedContributor.cs
  3. 1
      vueJs/debug.log
  4. 2
      vueJs/src/api/api-resources.ts
  5. 2
      vueJs/src/api/clients.ts
  6. 1
      vueJs/src/api/identity-server4.ts

4
aspnet-core/modules/platform/LINGYUN.Platform.Application.Contracts/LINGYUN/Platform/Localization/ApplicationContracts/zh-Hans.json

@ -22,8 +22,8 @@
"Permission:Layout": "布局管理", "Permission:Layout": "布局管理",
"Permission:Menu": "菜单管理", "Permission:Menu": "菜单管理",
"Permission:Create": "新增", "Permission:Create": "新增",
"Permission:Update": "新增", "Permission:Update": "编辑",
"Permission:Delete": "新增", "Permission:Delete": "删除",
"Permission:ManageItems": "管理项目", "Permission:ManageItems": "管理项目",
"Permission:ManageRoleMenus": "管理角色菜单", "Permission:ManageRoleMenus": "管理角色菜单",
"Permission:ManageUserMenus": "管理用户菜单" "Permission:ManageUserMenus": "管理用户菜单"

2
aspnet-core/modules/platform/LINGYUN.Platform.Domain/LINGYUN/Platform/PlatformDataSeedContributor.cs

@ -434,7 +434,7 @@ namespace LINGYUN.Platform
new Dictionary<string, object>() new Dictionary<string, object>()
{ {
{ "title", "clients" }, { "title", "clients" },
{ "icon", "clients" }, { "icon", "client" },
{ "roles", new string[]{ "AbpIdentityServer.Clients" } } { "roles", new string[]{ "AbpIdentityServer.Clients" } }
}, },
new string[] { "admin" }); new string[] { "admin" });

1
vueJs/debug.log

@ -6,3 +6,4 @@
[1221/155401.113:ERROR:directory_reader_win.cc(43)] FindFirstFile: 系统找不到指定的路径。 (0x3) [1221/155401.113:ERROR:directory_reader_win.cc(43)] FindFirstFile: 系统找不到指定的路径。 (0x3)
[1222/155401.133:ERROR:directory_reader_win.cc(43)] FindFirstFile: 系统找不到指定的路径。 (0x3) [1222/155401.133:ERROR:directory_reader_win.cc(43)] FindFirstFile: 系统找不到指定的路径。 (0x3)
[1223/145638.708:ERROR:filesystem_win.cc(148)] DeleteFile C:\Users\iVarKey\AppData\Local\Google\Chrome\User Data\Crashpad\reports\0106539b-a680-4c00-8e38-5a7a621345b9.dmp: 另一个程序正在使用此文件,进程无法访问。 (0x20) [1223/145638.708:ERROR:filesystem_win.cc(148)] DeleteFile C:\Users\iVarKey\AppData\Local\Google\Chrome\User Data\Crashpad\reports\0106539b-a680-4c00-8e38-5a7a621345b9.dmp: 另一个程序正在使用此文件,进程无法访问。 (0x20)
[1225/102752.308:ERROR:directory_reader_win.cc(43)] FindFirstFile: 系统找不到指定的路径。 (0x3)

2
vueJs/src/api/api-resources.ts

@ -95,7 +95,7 @@ export class ApiResourceCreateOrUpdate {
allowedAccessTokenSigningAlgorithms?: string = '' allowedAccessTokenSigningAlgorithms?: string = ''
userClaims = new Array<ApiResourceClaim>() userClaims = new Array<ApiResourceClaim>()
scopes = new Array<ApiResourceScope>() scopes = new Array<ApiResourceScope>()
secrets = new Array<ApiResourceSecretCreate>() secrets = new Array<ApiResourceSecret>()
properties = new Array<ApiResourceProperty>() properties = new Array<ApiResourceProperty>()
} }

2
vueJs/src/api/clients.ts

@ -258,7 +258,7 @@ export class ClientUpdate extends ClientCreateOrUpdate {
this.postLogoutRedirectUris = client.postLogoutRedirectUris this.postLogoutRedirectUris = client.postLogoutRedirectUris
this.identityProviderRestrictions = client.identityProviderRestrictions this.identityProviderRestrictions = client.identityProviderRestrictions
this.allowedScopes = client.allowedScopes this.allowedScopes = client.allowedScopes
this.secrets = client.clientSecrets this.clientSecrets = client.clientSecrets
this.claims = client.claims this.claims = client.claims
this.properties = client.properties this.properties = client.properties
} }

1
vueJs/src/api/identity-server4.ts

@ -1,4 +1,5 @@
import ApiService from './serviceBase' import ApiService from './serviceBase'
import { getOrDefault } from '@/utils/localStorage'
const openIdConfigurationUrl = '/.well-known/openid-configuration' const openIdConfigurationUrl = '/.well-known/openid-configuration'

Loading…
Cancel
Save