-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added module certification center (#2554)
* 测试代码提交 * 注册中心-文档管理 图片更新 * 1、新增模块认证中心; 2、对认证中心下的用户、角色、菜单、行权限、租户、令牌等子模块进行内容新增; * 丰富致谢内容 * 逗号还原 * removed some contributor names, and they will be re-added later
- Loading branch information
1 parent
f0227cc
commit 3a38d20
Showing
8 changed files
with
193 additions
and
8 deletions.
There are no files selected for viewing
32 changes: 32 additions & 0 deletions
32
docs/docs/administrator_guide/authentication_center/menu.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
--- | ||
position: 1 | ||
id: menu_add | ||
title: 菜单 | ||
--- | ||
|
||
|
||
菜单模块提供了菜单的新增、修改、删除等功能,新增的菜单需要二次开发相对应的后台功能: | ||
|
||
### 菜单新增 | ||
选择相应的父级菜单,点击创建根目录,点击右上角的编辑,填写菜单名称、路径、菜单类型等信息,完成菜单的新增。 | ||
|
||
**认证中心 > 菜单 > 创建根目录** | ||
|
||
![menu_add_01](http://www.aiwenmo.com/dinky/docs/test/menu_add_01.png) | ||
|
||
![menu_add_02](http://www.aiwenmo.com/dinky/docs/test/menu_add_02.png) | ||
|
||
### 菜单编辑 | ||
点击编辑按钮,进行菜单的编辑修改操作,如修改菜单层级、名称、类型、图标等,还可以进行重置。 | ||
|
||
**认证中心 > 菜单 > 编辑** | ||
|
||
![menu_edit](http://www.aiwenmo.com/dinky/docs/test/menu_edit.png) | ||
|
||
### 菜单删除 | ||
选择菜单,右键可进行菜单的删除操作。 | ||
|
||
**认证中心 > 菜单 > 编辑** | ||
|
||
![menu_delete](http://www.aiwenmo.com/dinky/docs/test/menu_delete.png) | ||
|
30 changes: 30 additions & 0 deletions
30
docs/docs/administrator_guide/authentication_center/role.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
--- | ||
position: 1 | ||
id: role | ||
title: 角色 | ||
--- | ||
|
||
|
||
角色模块提供了角色的新增、编辑及角色菜单的分配: | ||
|
||
### 新建 | ||
点击新建按钮,输入角色编码、角色名称等相关信息,完成角色的新建。 | ||
|
||
**认证中心 > 角色 > 新建** | ||
|
||
![role_add](http://www.aiwenmo.com/dinky/docs/test/role_add.png) | ||
|
||
### 编辑 | ||
点击编辑按钮,进行角色信息的修改操作。 | ||
|
||
**认证中心 > 角色 > 编辑** | ||
|
||
![role_edit](http://www.aiwenmo.com/dinky/docs/test/role_edit.png) | ||
|
||
### 分配菜单 | ||
点击分配菜单按钮,可以对角色的菜单权限进行分配。 | ||
|
||
**认证中心 > 角色 > 分配角色** | ||
|
||
![role_distribute](http://www.aiwenmo.com/dinky/docs/test/role_distribute.png) | ||
|
14 changes: 14 additions & 0 deletions
14
docs/docs/administrator_guide/authentication_center/row_limits.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
position: 1 | ||
id: row_limits | ||
title: 行权限 | ||
--- | ||
|
||
|
||
通过添加“行权限”规则,可使指定范围的角色和用户仅能查看指定范围的行数据。例如用户 A 仅能查看数据集“ '班级'字段=高二 ”的数据。但是只在只在flinksql中生效。 | ||
|
||
![row_limits_add](http://www.aiwenmo.com/dinky/docs/test/row_limits_add.png) | ||
|
||
如上图所示,表名为flink中的表名,表达式只需要填where后的语句即可。 | ||
|
||
|
23 changes: 23 additions & 0 deletions
23
docs/docs/administrator_guide/authentication_center/tenant.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
--- | ||
position: 1 | ||
id: tenant | ||
title: 租户 | ||
--- | ||
|
||
|
||
租户模块提供了租户的新增、编辑及用户的分配功能: | ||
|
||
### 新建 | ||
点击新建按钮,输入租户编码、备注等相关信息,完成租户的新建。 | ||
|
||
**认证中心 > 租户 > 新建** | ||
|
||
![tenant_add](http://www.aiwenmo.com/dinky/docs/test/tenant_add.png) | ||
|
||
### 分配用户 | ||
点击分配用户按钮,选择需要分配的用户,完成用户的分配。 | ||
|
||
**认证中心 > 租户 > 新建** | ||
|
||
![tenant_allocation](http://www.aiwenmo.com/dinky/docs/test/tenant_allocation.png) | ||
|
18 changes: 18 additions & 0 deletions
18
docs/docs/administrator_guide/authentication_center/token.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
position: 1 | ||
id: token | ||
title: 令牌 | ||
--- | ||
|
||
|
||
令牌是指dinky与后端接口通信时使用token进行身份验证和授权,这种方式有助于确保只有经过身份验证的用户才能访问系统,并提供了一种灵活的方式来管理用户的权限。同时,通过使用令牌,可以减轻在每个请求中都要重新输入用户名和密码的重复工作。 | ||
|
||
### 新建 | ||
点击新建按钮,点击生成token,选择用户、角色、租户,选择过期类型,完成令牌的新建。 | ||
|
||
**认证中心 > 令牌 > 新建** | ||
|
||
![token_add](http://www.aiwenmo.com/dinky/docs/test/token_add.png) | ||
|
||
如需要对令牌进行修改,可点击编辑按钮进行操作。 | ||
|
50 changes: 50 additions & 0 deletions
50
docs/docs/administrator_guide/authentication_center/user.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
--- | ||
position: 1 | ||
id: user | ||
title: 用户 | ||
--- | ||
|
||
|
||
用户模块提供了用户的新增、删除、编辑、角色分配、密码修改及重置等功能: | ||
|
||
### 新建 | ||
点击新建按钮,输入用户名等相关信息,完成用户的新建。 | ||
|
||
**认证中心 > 用户 > 新建** | ||
|
||
![user_add](http://www.aiwenmo.com/dinky/docs/test/user_add.png) | ||
|
||
### 编辑 | ||
点击编辑按钮,进行用户信息的修改操作。 | ||
|
||
**认证中心 > 用户 > 编辑** | ||
|
||
![user_edit](http://www.aiwenmo.com/dinky/docs/test/user_edit.png) | ||
|
||
### 分配角色 | ||
点击分配角色按钮,进行用户的角色分配操作。 | ||
|
||
**认证中心 > 用户 > 分配角色** | ||
|
||
![role_assignment](http://www.aiwenmo.com/dinky/docs/test/role_assignment.png) | ||
|
||
### 修改密码 | ||
点击修改密码按钮,进行用户密码的修改操作。 | ||
|
||
**认证中心 > 用户 > 修改密码** | ||
|
||
![password_modify](http://www.aiwenmo.com/dinky/docs/test/password_modify.png) | ||
|
||
### 用户删除 | ||
点击用户删除按钮,进行用户的删除操作。 | ||
|
||
**认证中心 > 用户 > 删除** | ||
|
||
![user_delete](http://www.aiwenmo.com/dinky/docs/test/user_delete.png) | ||
|
||
### 密码重置 | ||
点击密码重置按钮,进行密码的重置操作。 | ||
|
||
**认证中心 > 用户 > 重置** | ||
|
||
![password_reset](http://www.aiwenmo.com/dinky/docs/test/password_reset.png) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters