File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -191,7 +191,7 @@ const {
191191
192192const permissionObj = ref <any >({
193193 APPLICATION: new ComplexPermission (
194- [RoleConst .ADMIN , RoleConst .WORKSPACE_MANAGE .getWorkspaceRole ],
194+ [RoleConst .ADMIN , RoleConst .WORKSPACE_MANAGE .getWorkspaceRole , RoleConst . USER . getWorkspaceRole ],
195195 [
196196 PermissionConst .APPLICATION_CHAT_USER_EDIT ,
197197 PermissionConst .APPLICATION_CHAT_USER_EDIT .getApplicationWorkspaceResourcePermission (id ),
@@ -200,7 +200,7 @@ const permissionObj = ref<any>({
200200 ' OR' ,
201201 ),
202202 KNOWLEDGE: new ComplexPermission (
203- [RoleConst .ADMIN , RoleConst .WORKSPACE_MANAGE .getWorkspaceRole ],
203+ [RoleConst .ADMIN , RoleConst .WORKSPACE_MANAGE .getWorkspaceRole , RoleConst . USER . getWorkspaceRole ],
204204 [
205205 PermissionConst .KNOWLEDGE_CHAT_USER_EDIT ,
206206 PermissionConst .KNOWLEDGE_CHAT_USER_EDIT .getKnowledgeWorkspaceResourcePermission (id ),
You can’t perform that action at this time.
0 commit comments