Skip to content

[Bug] #3137

@dragoncdj

Description

@dragoncdj

Contact Information

MaxKB Version

1.10.8-lts

Problem Description

在多用户下,同组用户在高级编排中看不到其他组员创建的知识库

Steps to Reproduce

1.主用户(admin)创建了“知识库A”
2.将用户甲添加到项目组中
3.将知识库A的查看编辑权限付给甲
4.登录甲账号,在知识库中可以正常看见“知识库A”
5.甲创建高级编排应用
6.在知识库检索节点中,点击选择知识库后边的加号,弹出页面看不见“知识库A”

The expected correct result

结果:在知识库检索节点中,点击选择知识库后边的加号,弹出页面可以看见并可以选择“知识库A”。
初步问题排查:检查接口/api/application/{userid}/list_dataset,并未查询出同组人员是否有权限查看。
解决办法:可与知识库页面查询逻辑一致,先获取有权限用户id,再进行数据查询。

Related log output

Additional Information

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions