share replica list is not checking project owner
Bug #1922243 reported by
Maurice Escher
This bug affects 2 people
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| OpenStack Shared File Systems Service (Manila) |
Fix Released
|
Undecided
|
Unassigned | ||
Bug Description
Hi,
listing replicas doesn't filter on project_id (they don't even have a project_id column), so doing an API call to list them will always return the list of all replicas in all projects, not just those that belong to the project where my token is valid.
Same is true for share instances (replicas are just special instances).
I suggest to introduce the same pattern like we have for shares with an option to get everything for admins (all_projects=true) and filtering by project by default.
What do you think?
BR,
Maurice
| Changed in manila: | |
| status: | New → In Progress |
To post a comment you must log in.

proposed fix https:/ /review. opendev. org/c/openstack /manila/ +/784449