正在显示
4 个修改的文件
包含
36 行增加
和
24 行删除
@@ -28,10 +28,6 @@ metadata: | @@ -28,10 +28,6 @@ metadata: | ||
28 | description: 菜单类型 (模块module、子模块submodule、菜单menu、按钮button) | 28 | description: 菜单类型 (模块module、子模块submodule、菜单menu、按钮button) |
29 | type: | 29 | type: |
30 | primitive: string | 30 | primitive: string |
31 | - - name: status | ||
32 | - description: 菜单状态 bit0:启用(1)/禁用(0) bit1:启用收藏(1)/禁用收藏(0)(默认禁用) | ||
33 | - type: | ||
34 | - primitive: int | ||
35 | - name: access | 31 | - name: access |
36 | description: 关联权限 | 32 | description: 关联权限 |
37 | type: | 33 | type: |
@@ -57,6 +53,6 @@ metadata: | @@ -57,6 +53,6 @@ metadata: | ||
57 | type: | 53 | type: |
58 | primitive: string | 54 | primitive: string |
59 | - name: isPublish | 55 | - name: isPublish |
60 | - description: 是否是公开的菜单,[0:否],[1:是],默认否 | 56 | + description: 状态是否是公开的菜单,[0:否],[1:是],默认否 |
61 | type: | 57 | type: |
62 | primitive: int | 58 | primitive: int |
document/terms/schemas/menuAccess.yaml
0 → 100644
@@ -4,19 +4,21 @@ metadata: | @@ -4,19 +4,21 @@ metadata: | ||
4 | name: role | 4 | name: role |
5 | description: 角色 (base) | 5 | description: 角色 (base) |
6 | attributes: | 6 | attributes: |
7 | - - ref: roleId | ||
8 | - required: true | ||
9 | - - ref: companyId | ||
10 | - required: true | ||
11 | - - ref: organizationId | ||
12 | - required: true | ||
13 | - - ref: roleName | ||
14 | - required: true | ||
15 | - - name: menuAccess | ||
16 | - description: 菜单权限列表 | ||
17 | - type: | ||
18 | - array: int64 | ||
19 | - - name: description | ||
20 | - description: 描述 | ||
21 | - type: | ||
22 | - primitive: string | 7 | + - ref: roleId |
8 | + required: true | ||
9 | + - ref: companyId | ||
10 | + required: true | ||
11 | + - name: organization | ||
12 | + description: 组织信息 | ||
13 | + type: | ||
14 | + schema: organization | ||
15 | + - ref: roleName | ||
16 | + required: true | ||
17 | + - name: menuAccess | ||
18 | + description: 菜单权限列表 | ||
19 | + type: | ||
20 | + schema: menuAccess | ||
21 | + - name: desc | ||
22 | + description: 角色描述 | ||
23 | + type: | ||
24 | + primitive: string |
@@ -19,11 +19,11 @@ metadata: | @@ -19,11 +19,11 @@ metadata: | ||
19 | - name: organization | 19 | - name: organization |
20 | description: 组织机构 | 20 | description: 组织机构 |
21 | type: | 21 | type: |
22 | - primitive: int64 | 22 | + schema: organization |
23 | - name: department | 23 | - name: department |
24 | description: 所属部门 | 24 | description: 所属部门 |
25 | type: | 25 | type: |
26 | - primitive: int64 | 26 | + schema: organization |
27 | - name: organizationRoles | 27 | - name: organizationRoles |
28 | description: 组织权限列表 | 28 | description: 组织权限列表 |
29 | type: | 29 | type: |
@@ -35,7 +35,7 @@ metadata: | @@ -35,7 +35,7 @@ metadata: | ||
35 | - name: cooperationInfo | 35 | - name: cooperationInfo |
36 | description: 共创信息 (共创用户有效) | 36 | description: 共创信息 (共创用户有效) |
37 | type: | 37 | type: |
38 | - primitive: cooperationInfo | 38 | + schema: cooperationInfo |
39 | - name: enableStatus | 39 | - name: enableStatus |
40 | description: 启用状态(启用:1 禁用:2) | 40 | description: 启用状态(启用:1 禁用:2) |
41 | type: | 41 | type: |
-
请 注册 或 登录 后发表评论