Activity log for bug #1923008

Date Who What changed Old value New value Message
2021-04-08 07:01:42 haixin bug added bug
2021-04-08 07:02:06 haixin manila: assignee haixin (haixin77)
2021-04-08 07:03:59 haixin description Description =========== 1: when get share networks list, if specified "security_service_id" and "project_id" in search_ops, will go to function share_network_get_all_by_security_service(), It doesn't care if the user is admin, this will lead to Non-admin user get share networks in other project. 2: we can put "created_since", "created_before" search opts into database to Increase query speed 3: we can integrate the database query interface Steps to reproduce ================== A chronological list of steps which will help reproduce the issue you hit: * in project A create an share network net_A, which security_service_id is id1 belong to project A. * in project B create an share network net_B, which security_service_id is id2 belong to project B. * then admin to query share networks list with security_service_id=id1 and project_id= B_id in search opts. Expected result =============== the query resule is None Actual result ============= you will get net_A Description =========== 1: when get share networks list, if specified "security_service_id" and "project_id" in search_ops, will go to function share_network_get_all_by_security_service(), It doesn't care if the user is admin, this will lead to Non-admin user get share networks in other project. 2: we can put "created_since", "created_before" search opts into database to Increase query speed 3: we can integrate the database query interface Steps to reproduce ================== A chronological list of steps which will help reproduce the issue you hit: * in project A(id=A_id) create an share network net_A, which security_service_id is id1 belong to project A. * in project B(id=B_id) create an share network net_B, which security_service_id is id2 belong to project B. * then admin to query share networks list with security_service_id=id1 and project_id= B_id in   search opts. Expected result =============== the query resule is None Actual result ============= you will get net_A
2021-04-08 15:24:25 Vida Haririan manila: importance Undecided Medium
2021-04-08 15:24:28 Vida Haririan manila: milestone xena-1
2021-06-10 14:09:18 OpenStack Infra manila: status New In Progress
2021-07-08 05:54:49 Goutham Pacha Ravi manila: milestone xena-1 xena-2
2021-09-10 00:08:16 Goutham Pacha Ravi manila: milestone xena-2 xena-rc1
2021-09-16 17:48:59 OpenStack Infra manila: status In Progress Fix Released