Compare commits

..

3 Commits

Author SHA1 Message Date
“huailei000”
ee55cebf0e fix: 修复临时密码提示翻译 2022-04-29 10:53:55 +08:00
ibuler
2e5096f386 perf: 修改 build 2022-04-29 10:53:55 +08:00
feng626
bf57ee8910 fix: 开放platform 权限 2022-04-29 10:38:44 +08:00
4 changed files with 8 additions and 6 deletions

View File

@@ -1,6 +1,4 @@
FROM node:10 as stage-build
ARG VERSION
ENV VERSION=$VERSION
ARG NPM_REGISTRY="https://registry.npm.taobao.org"
ENV NPM_REGISTY=$NPM_REGISTRY
ARG SASS_BINARY_SITE="https://npm.taobao.org/mirrors/node-sass"
@@ -15,6 +13,8 @@ COPY package.json yarn.lock /data/
RUN yarn install
RUN npm rebuild node-sass
ARG VERSION
ENV VERSION=$VERSION
ADD . /data
RUN cd utils && bash -xieu build.sh build

View File

@@ -419,7 +419,7 @@
},
"isValid": "Is valid",
"nav": {
"TempPassword": "Temporary password will expire immediately after use",
"TempPassword": "Temporary password",
"APIKey": "API Key",
"Workbench": "Workbench",
"Navigation": "Navigation",
@@ -994,7 +994,7 @@
"LDAPUser": "LDAP User",
"InsecureCommandAlert": "Insecure command alert",
"helpText": {
"TempPassword": "For a while, there is a period of 300 seconds, and there is a period of reuse.",
"TempPassword": "For a while, there is a period of 300 seconds, failure immediately after use",
"ApiKeyList": "The API key is used to sign the request header. The header of each request is different. Please refer to the usage documentation",
"authLdapSearchFilter": "Choice may be (cn|uid|sAMAccountName)=%(user)s)",
"authLdapSearchOu": "Use | split User OUs",

View File

@@ -431,7 +431,7 @@
"fileType": "ファイルタイプ",
"isValid": "有効",
"nav": {
"TempPassword": "一時パスワード使用後すぐに無効になります",
"TempPassword": "一時パスワード",
"APIKey": "APIキー",
"Workbench": "作業台",
"Navigation": "ナビゲーション",
@@ -1020,7 +1020,7 @@
"LDAPServerInfo": "LDAPサーバー",
"LDAPUser": "LDAPユーザー",
"helpText": {
"TempPassword": "一時パスワードの有効期間は300秒で、有効期間内に再利用できます",
"TempPassword": "一時パスワードの有効期間は300秒で、使用後すぐに失効します",
"ApiKeyList": "Api keyを使用してリクエストヘッダに署名します。リクエストのヘッダごとに異なります。使用ドキュメントを参照してください",
"authLdapSearchFilter": "可能なオプションは (cnまたはuidまたはsamaccount tname = %(user)s) です",
"authLdapSearchOu": "| を使用して各OUを区切る",

View File

@@ -98,6 +98,8 @@ export default {
'assets.view_asset': ['assets.view_node'],
'assets.commandfilterrule': ['assets.view_commandfilter'],
'assets.gateway': ['assets.view_domain'],
'assets.add_asset': ['assets.view_platform'],
'assets.change_asset': ['assets.view_platform'],
'assets.view_authbook': ['assets.view_node'],
'assets.gathereduser': ['assets.view_node'],
'assets.refresh_assethardwareinfo': ['assets.change_asset'],