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

[release-3.3] Fix:add module for displaying in frontend #2115

Merged
Merged
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
8 changes: 8 additions & 0 deletions roles/ks-core/prepare/files/ks-init/role-templates.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -676,6 +676,7 @@ apiVersion: iam.kubesphere.io/v1alpha2
kind: GlobalRole
metadata:
annotations:
iam.kubesphere.io/module: Access Control
iam.kubesphere.io/role-template-rules: '{"workspaces": "manage"}'
kubesphere.io/alias-name: Workspaces Management
labels:
Expand Down Expand Up @@ -847,6 +848,7 @@ apiVersion: iam.kubesphere.io/v1alpha2
kind: GlobalRole
metadata:
annotations:
iam.kubesphere.io/module: Access Control
iam.kubesphere.io/role-template-rules: '{"users": "manage"}'
kubesphere.io/alias-name: Users Management
labels:
Expand Down Expand Up @@ -889,6 +891,7 @@ apiVersion: iam.kubesphere.io/v1alpha2
kind: GlobalRole
metadata:
annotations:
iam.kubesphere.io/module: Access Control
iam.kubesphere.io/role-template-rules: '{"roles": "manage"}'
kubesphere.io/alias-name: Roles Management
labels:
Expand Down Expand Up @@ -1497,6 +1500,7 @@ apiVersion: iam.kubesphere.io/v1alpha2
kind: WorkspaceRole
metadata:
annotations:
iam.kubesphere.io/module: Access Control
iam.kubesphere.io/role-template-rules: '{"roles": "manage"}'
kubesphere.io/alias-name: Workspace Roles Management
labels:
Expand All @@ -1515,6 +1519,7 @@ apiVersion: iam.kubesphere.io/v1alpha2
kind: WorkspaceRole
metadata:
annotations:
iam.kubesphere.io/module: Access Control
iam.kubesphere.io/role-template-rules: '{"members": "view"}'
kubesphere.io/alias-name: Workspace Members View
labels:
Expand All @@ -1536,6 +1541,7 @@ apiVersion: iam.kubesphere.io/v1alpha2
kind: WorkspaceRole
metadata:
annotations:
iam.kubesphere.io/module: Access Control
iam.kubesphere.io/role-template-rules: '{"members": "manage"}'
kubesphere.io/alias-name: Workspace Members Management
labels:
Expand Down Expand Up @@ -2678,6 +2684,7 @@ role:
kind: Role
metadata:
annotations:
iam.kubesphere.io/module: Access Control
iam.kubesphere.io/role-template-rules: '{"members": "manage"}'
kubesphere.io/alias-name: Project Members Management
labels:
Expand Down Expand Up @@ -2820,6 +2827,7 @@ role:
kind: Role
metadata:
annotations:
iam.kubesphere.io/module: Access Control
iam.kubesphere.io/role-template-rules: '{"roles": "manage"}'
kubesphere.io/alias-name: Project Roles Management
labels:
Expand Down