51 lines
1.4 KiB
Markdown
51 lines
1.4 KiB
Markdown
# 【M22项目-Policies-Security】Object请求参数问题导致了全量查询
|
||
|
||
| ID | Creation Date | Assignee | Status |
|
||
|----|----------------|----------|--------|
|
||
| OMPUB-1229 | 2024-04-17T19:02:49.000+0800 | 王瑜 | 已关闭 |
|
||
|
||
|
||
---
|
||
|
||
描述:进入了Security列表页,Object请求参数问题导致了全量查询,导致Security查询速度较慢
|
||
|
||
复现步骤:
|
||
# 依次点击Policies-Security
|
||
|
||
当前问题:
|
||
|
||
查询Objects时未添加ID导致查询了所有Objects
|
||
|
||
!image-2024-04-17-19-01-34-336.png|thumbnail!
|
||
|
||
预期结果:查询时加上Object Id作为过滤条件,只查询被当前列表中Rule引用的Objects**gitlab** commented on *2024-04-17T19:30:16.926+0800*:
|
||
|
||
[王瑜|https://git.mesalab.cn/Heaven95] mentioned this issue in [a commit|https://git.mesalab.cn/tsg-ui/tsg-ui/-/commit/c176e183199624436dbe550971f144a6e7eaeeb7] of [TSG-UI / TSG-UI|https://git.mesalab.cn/tsg-ui/tsg-ui] on branch [Branch_develop_2402|https://git.mesalab.cn/tsg-ui/tsg-ui/-/tree/Branch_develop_2402]:{quote}fix OMPUB-1229【M22项目-Policies-Security】Object请求参数问题导致了全量查询{quote}
|
||
|
||
|
||
|
||
---
|
||
|
||
**hebingning** commented on *2024-04-20T19:33:32.637+0800*:
|
||
|
||
复测通过,当前在security中进行查询时加了ids 参数,不会导致全量查询,关闭此bug
|
||
|
||
!image-2024-04-20-18-03-26-569.png|thumbnail!
|
||
|
||
|
||
|
||
---
|
||
|
||
|
||
|
||
## Attachments
|
||
|
||
**55491/image-2024-04-17-19-01-34-336.png**
|
||
|
||
---
|
||
|
||
**55821/image-2024-04-20-18-03-26-569.png**
|
||
|
||
---
|
||
|