Commit f5b970a
committed
security(idor): scope vmware/xhm migration list+detail to the caller's clusters
Final re-scan residual: /api/vmware/migrations and /api/xhm/migrations (list + detail) returned
every tenant's migration tasks to any vm.migrate holder. Now filtered/gated so a caller only sees
a migration touching a cluster they can reach (source or target); detail returns 404 otherwise. 277 tests.1 parent b4a72a7 commit f5b970a
2 files changed
Lines changed: 20 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1126 | 1126 | | |
1127 | 1127 | | |
1128 | 1128 | | |
| 1129 | + | |
| 1130 | + | |
| 1131 | + | |
| 1132 | + | |
| 1133 | + | |
| 1134 | + | |
| 1135 | + | |
1129 | 1136 | | |
1130 | 1137 | | |
1131 | | - | |
| 1138 | + | |
1132 | 1139 | | |
1133 | 1140 | | |
1134 | 1141 | | |
| |||
1137 | 1144 | | |
1138 | 1145 | | |
1139 | 1146 | | |
| 1147 | + | |
| 1148 | + | |
1140 | 1149 | | |
1141 | 1150 | | |
1142 | 1151 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
196 | 203 | | |
197 | | - | |
| 204 | + | |
198 | 205 | | |
199 | 206 | | |
200 | 207 | | |
201 | 208 | | |
202 | 209 | | |
203 | 210 | | |
204 | 211 | | |
| 212 | + | |
| 213 | + | |
205 | 214 | | |
0 commit comments