正在显示
7 个修改的文件
包含
125 行增加
和
79 行删除
@@ -8,43 +8,35 @@ metadata: | @@ -8,43 +8,35 @@ metadata: | ||
8 | description: 权限Id | 8 | description: 权限Id |
9 | type: | 9 | type: |
10 | primitive: int64 | 10 | primitive: int64 |
11 | + - name: parentId | ||
12 | + description: 父级ID | ||
13 | + type: | ||
14 | + primitive: int64 | ||
11 | - name: accessName | 15 | - name: accessName |
12 | description: 权限名称 | 16 | description: 权限名称 |
13 | type: | 17 | type: |
14 | primitive: string | 18 | primitive: string |
15 | - - name: parentId | ||
16 | - description: 父级ID | 19 | + - name: object |
20 | + description: 对象 eg:users | ||
17 | type: | 21 | type: |
18 | primitive: string | 22 | primitive: string |
19 | - - name: module | ||
20 | - description: 模块 I M B R 首页、管理、业务、报表 | 23 | + - name: action |
24 | + description: 操作行为 eg:delete 操作列表(add/delete/edit/list/import/export) | ||
21 | type: | 25 | type: |
22 | primitive: string | 26 | primitive: string |
23 | - - name: accessType | ||
24 | - description: 权限类型(module>subModule>menu>button>feature) | 27 | + - name: accessCode |
28 | + description: 权限编码 eg:users:delete | ||
25 | type: | 29 | type: |
26 | primitive: string | 30 | primitive: string |
27 | - name: status | 31 | - name: status |
28 | - description: 状态 1:启用 2:可配置 4.可收藏 8:需要授权才能访问 | 32 | + description: 状态 1:启用权限验证 |
29 | type: | 33 | type: |
30 | - primitive: int64 | 34 | + primitive: int |
31 | - name: sort | 35 | - name: sort |
32 | description: 排序 | 36 | description: 排序 |
33 | type: | 37 | type: |
34 | primitive: int | 38 | primitive: int |
35 | - - name: icon | ||
36 | - description: 图标 | ||
37 | - type: | ||
38 | - primitive: string | ||
39 | - name: description | 39 | - name: description |
40 | description: 描述说明 | 40 | description: 描述说明 |
41 | type: | 41 | type: |
42 | primitive: string | 42 | primitive: string |
43 | - - name: object | ||
44 | - description: 对象 eg:/users/userInfo | ||
45 | - type: | ||
46 | - primitive: string | ||
47 | - - name: action | ||
48 | - description: 允许动作 eg:GET | ||
49 | - type: | ||
50 | - primitive: string |
@@ -8,8 +8,8 @@ metadata: | @@ -8,8 +8,8 @@ metadata: | ||
8 | required: true | 8 | required: true |
9 | - ref: organizationId | 9 | - ref: organizationId |
10 | required: true | 10 | required: true |
11 | - - name: accessId | ||
12 | - description: 权限id | 11 | + - name: menuId |
12 | + description: 菜单id | ||
13 | type: | 13 | type: |
14 | primitive: int64 | 14 | primitive: int64 |
15 | - name: menuName | 15 | - name: menuName |
document/terms/schemas/menu.yaml
0 → 100644
1 | +version: v1 | ||
2 | +kind: Schema | ||
3 | +metadata: | ||
4 | + name: menu | ||
5 | + description: 系统菜单 | ||
6 | + attributes: | ||
7 | + - name: menuId | ||
8 | + description: 菜单编号 | ||
9 | + type: | ||
10 | + primitive: int64 | ||
11 | + - name: parentId | ||
12 | + description: 父级id | ||
13 | + type: | ||
14 | + primitive: int64 | ||
15 | + - name: menuName | ||
16 | + description: 菜单名称 | ||
17 | + type: | ||
18 | + primitive: string | ||
19 | + - name: module | ||
20 | + description: 模块 (首页 INDEX、业务BISINESS、管理MANAGER、报表REPORT) | ||
21 | + type: | ||
22 | + primitive: string | ||
23 | + - name: code | ||
24 | + description: 菜单编码 | ||
25 | + type: | ||
26 | + primitive: string | ||
27 | + - name: menuType | ||
28 | + description: 菜单类型 (模块module、子模块submodule、菜单menu、按钮button) | ||
29 | + type: | ||
30 | + primitive: string | ||
31 | + - name: status | ||
32 | + description: 菜单状态 (1:启用/禁用 2:启用收藏/禁用收藏 (默认禁用) ) | ||
33 | + type: | ||
34 | + primitive: int | ||
35 | + - name: access | ||
36 | + description: 关联权限 | ||
37 | + type: | ||
38 | + schema: access | ||
39 | + - name: icon | ||
40 | + description: 菜单图标 | ||
41 | + type: | ||
42 | + primitive: string | ||
43 | + - name: sort | ||
44 | + description: 排序 | ||
45 | + type: | ||
46 | + primitive: int | ||
47 | + - name: desc | ||
48 | + description: 菜单说明 | ||
49 | + type: | ||
50 | + primitive: string | ||
51 | + - name: tag | ||
52 | + description: 菜单标签 (web、app) | ||
53 | + type: | ||
54 | + primitive: string |
@@ -2,47 +2,15 @@ version: v1 | @@ -2,47 +2,15 @@ version: v1 | ||
2 | kind: Schema | 2 | kind: Schema |
3 | metadata: | 3 | metadata: |
4 | name: users | 4 | name: users |
5 | - description: 用户 (base) | 5 | + description: 用户(base) |
6 | attributes: | 6 | attributes: |
7 | - ref: usersId | 7 | - ref: usersId |
8 | required: true | 8 | required: true |
9 | - - ref: companyId | ||
10 | - required: true | ||
11 | - - ref: usersAuthId | ||
12 | - required: true | ||
13 | - - ref: usersType | ||
14 | - required: true | ||
15 | - - ref: createAt | ||
16 | - required: true | ||
17 | - - ref: updateAt | ||
18 | - required: true | ||
19 | - - ref: deleteAt | ||
20 | - required: true | ||
21 | - - name: usersStatus | ||
22 | - description: 用户状态(启用:1 禁用:2) | ||
23 | - type: | ||
24 | - primitive: int | ||
25 | - - name: usersInfo | ||
26 | - description: 用户信息 | ||
27 | - type: | ||
28 | - schema: usersInfo | ||
29 | - - name: organization | ||
30 | - description: 组织机构 | ||
31 | - type: | ||
32 | - primitive: int64 | ||
33 | - - name: department | ||
34 | - description: 所属部门 | ||
35 | - type: | ||
36 | - primitive: int64 | ||
37 | - - name: organizationRoles | ||
38 | - description: 组织权限列表 | ||
39 | - type: | ||
40 | - array: organizationRole | ||
41 | - - name: collectedMenus | ||
42 | - description: 收藏的菜单(工作台) | 9 | + - name: phoneAuth |
10 | + description: 手机认证 | ||
43 | type: | 11 | type: |
44 | - array: access | ||
45 | - - name: cooperationInfo | ||
46 | - description: 共创信息 (共创用户有效) | 12 | + schemal: phoneAuth |
13 | + - name: credentialAuths | ||
14 | + description: 凭证认证 | ||
47 | type: | 15 | type: |
48 | - primitive: cooperationInfo | 16 | + array: credentialAuth |
document/terms/schemas/usersAuth.yaml
已删除
100644 → 0
1 | -version: v1 | ||
2 | -kind: Schema | ||
3 | -metadata: | ||
4 | - name: usersAuth | ||
5 | - description: 用户认证 (base) | ||
6 | - attributes: | ||
7 | - - ref: usersAuthId | ||
8 | - required: true | ||
9 | - - name: phoneAuth | ||
10 | - description: 手机认证 | ||
11 | - type: | ||
12 | - schemal: phoneAuth | ||
13 | - - name: credentialAuths | ||
14 | - description: 凭证认证 | ||
15 | - type: | ||
16 | - array: credentialAuth |
document/terms/schemas/usersCompany.yaml
0 → 100644
1 | +version: v1 | ||
2 | +kind: Schema | ||
3 | +metadata: | ||
4 | + name: usersCompany | ||
5 | + description: 用户 (base) | ||
6 | + attributes: | ||
7 | + - ref: usersCompanyId | ||
8 | + required: true | ||
9 | + - ref: companyId | ||
10 | + required: true | ||
11 | + - ref: usersId | ||
12 | + required: true | ||
13 | + - ref: usersType | ||
14 | + required: true | ||
15 | + - ref: createAt | ||
16 | + required: true | ||
17 | + - ref: updateAt | ||
18 | + required: true | ||
19 | + - ref: deleteAt | ||
20 | + required: true | ||
21 | + - name: usersStatus | ||
22 | + description: 用户状态(启用:1 禁用:2) | ||
23 | + type: | ||
24 | + primitive: int | ||
25 | + - name: usersInfo | ||
26 | + description: 用户信息 | ||
27 | + type: | ||
28 | + schema: usersInfo | ||
29 | + - name: organization | ||
30 | + description: 组织机构 | ||
31 | + type: | ||
32 | + primitive: int64 | ||
33 | + - name: department | ||
34 | + description: 所属部门 | ||
35 | + type: | ||
36 | + primitive: int64 | ||
37 | + - name: organizationRoles | ||
38 | + description: 组织权限列表 | ||
39 | + type: | ||
40 | + array: organizationRole | ||
41 | + - name: collectedMenus | ||
42 | + description: 收藏的菜单(工作台) | ||
43 | + type: | ||
44 | + array: access | ||
45 | + - name: cooperationInfo | ||
46 | + description: 共创信息 (共创用户有效) | ||
47 | + type: | ||
48 | + primitive: cooperationInfo |
-
请 注册 或 登录 后发表评论