Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(console): rm tenant role #2241

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -219,10 +219,10 @@ export const BaseInfoPanel = props => {
<Text>平台用户</Text>
<Text parent="div">平台预设角色,允许访问和管理大部分平台功能,可以新建集群及业务</Text>
</Radio>
<Radio name={tenantID ? `pol-${tenantID}-viewer` : 'pol-default-viewer'}>
{/* <Radio name={tenantID ? `pol-${tenantID}-viewer` : 'pol-default-viewer'}>
<Text>租户</Text>
<Text parent="div">平台预设角色,不绑定任何平台权限,仅能登录</Text>
</Radio>
</Radio> */}
<Radio name="custom">
<Text>自定义</Text>
{roleValue === 'custom' && (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,10 +136,10 @@ export function RoleModifyDialog(props) {
<Text>平台用户</Text>
<Text parent="div">平台预设角色,允许访问和管理大部分平台功能,可以新建集群及业务</Text>
</Radio>
<Radio name={tenantID ? `pol-${tenantID}-viewer` : 'pol-default-viewer'}>
{/* <Radio name={tenantID ? `pol-${tenantID}-viewer` : 'pol-default-viewer'}>
<Text>租户</Text>
<Text parent="div">平台预设角色,不绑定任何平台权限,仅能登录</Text>
</Radio>
</Radio> */}
<Radio name="custom">
<Text>自定义</Text>
<Transfer
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -264,10 +264,10 @@ export const UserCreate = props => {
<Text>平台用户</Text>
<Text parent="div">平台预设角色,允许访问和管理大部分平台功能,可以新建集群及业务</Text>
</Radio>
<Radio name={tenantID ? `pol-${tenantID}-viewer` : 'pol-default-viewer'}>
{/* <Radio name={tenantID ? `pol-${tenantID}-viewer` : 'pol-default-viewer'}>
<Text>租户</Text>
<Text parent="div">平台预设角色,不绑定任何平台权限,仅能登录</Text>
</Radio>
</Radio> */}
<Radio name="custom">
<Text>自定义</Text>
<Text parent="div">为这个用户自定义独立的权限</Text>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,10 +139,10 @@ export function RoleModifyDialog(props) {
<Text>平台用户</Text>
<Text parent="div">平台预设角色,允许访问和管理大部分平台功能,可以新建集群及业务</Text>
</Radio>
<Radio name={tenantID ? `pol-${tenantID}-viewer` : 'pol-default-viewer'}>
{/* <Radio name={tenantID ? `pol-${tenantID}-viewer` : 'pol-default-viewer'}>
<Text>租户</Text>
<Text parent="div">平台预设角色,不绑定任何平台权限,仅能登录</Text>
</Radio>
</Radio> */}
<Radio name="custom">
<Text>自定义</Text>
{roleValue === 'custom' && (
Expand Down