Commit f34a79a
committed
Resolves #6524 (FR-2502)
## Summary
- `AdminVFolderNodeListPage` was restricted to the current domain via `scope_id: domain:${domainName}`, so superadmin could only see folders owned by themselves and not vfolders created by other users
- Remove `scope_id` from the admin query (all three `vfolder_nodes` calls: main list, active count, deleted count) so superadmin sees all vfolders across projects/domains
- Matches the existing pattern in `AdminComputeSessionListPage` which intentionally omits `scope_id` for the same reason
- Drop the now-unused `useCurrentDomainValue` import and `domainName` local
## Stack
Depends on #6467 (FR-2476), which adds `permission: read_attribute` to the same queries. The permission fix alone does not make other users' folders visible; removing the domain scope is also required.
## Test plan
- [ ] `/admin-data` page shows vfolders owned by other users (across all projects/domains)
- [ ] Active and deleted folder tab counts reflect all vfolders
- [ ] Existing filters (name/status/type/permission/usage mode) still work
## Verification
```
=== Relay: PASS ===
=== Lint: PASS ===
=== Format: PASS ===
=== TypeScript: PASS ===
=== ALL PASS ===
```
1 parent 81acb9a commit f34a79a
1 file changed
Lines changed: 2 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
70 | 69 | | |
71 | 70 | | |
72 | 71 | | |
| |||
124 | 123 | | |
125 | 124 | | |
126 | 125 | | |
| 126 | + | |
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
142 | | - | |
143 | 142 | | |
144 | 143 | | |
145 | 144 | | |
| |||
155 | 154 | | |
156 | 155 | | |
157 | 156 | | |
158 | | - | |
159 | 157 | | |
160 | 158 | | |
161 | 159 | | |
162 | 160 | | |
163 | 161 | | |
164 | 162 | | |
165 | 163 | | |
166 | | - | |
167 | 164 | | |
168 | 165 | | |
169 | 166 | | |
| |||
186 | 183 | | |
187 | 184 | | |
188 | 185 | | |
189 | | - | |
190 | 186 | | |
191 | 187 | | |
192 | 188 | | |
| |||
195 | 191 | | |
196 | 192 | | |
197 | 193 | | |
198 | | - | |
199 | 194 | | |
200 | 195 | | |
201 | 196 | | |
| |||
0 commit comments