File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
components/resource_mapping Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -352,7 +352,7 @@ async function getWorkspaceList() {
352352const hasResourceWorkspacePermission = (row : any ) => {
353353 return permissionMap [row .source_type .toLowerCase () as ' application' | ' knowledge' ][
354354 ' workspace'
355- ].jump_read (row .id )
355+ ].jump_read (row .source_id )
356356}
357357
358358const hasResourceSystemManagePermission = (row : any ) => {
Original file line number Diff line number Diff line change @@ -216,7 +216,7 @@ const workspace = {
216216 'OR'
217217 ) ,
218218 overview_read : ( ) => false ,
219- jump_read : ( source_id : string ) => {
219+ jump_read : ( source_id : string ) =>
220220 hasPermission (
221221 [
222222 new ComplexPermission (
@@ -237,7 +237,7 @@ const workspace = {
237237 ] ,
238238 'OR' ,
239239 )
240- } ,
240+ ,
241241 access_read : ( ) => false ,
242242 chat_user_read : ( ) => false ,
243243 chat_log_read : ( ) => false
You can’t perform that action at this time.
0 commit comments