Commit 7cc8589
committed
fix(api,gateway): allow admins to access resources without tenant scope
Remove tenant and user ID headers from admin API requests to enable
admins to view and manage resources across all namespaces from the
admin dashboard. Update authorization middleware to permit admin
access without tenant context.1 parent ef098aa commit 7cc8589
File tree
2 files changed
+4
-3
lines changed- api/routes/middleware
- gateway/nginx/conf.d
2 files changed
+4
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
19 | 22 | | |
20 | 23 | | |
21 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
336 | 336 | | |
337 | 337 | | |
338 | 338 | | |
339 | | - | |
340 | 339 | | |
341 | 340 | | |
342 | | - | |
343 | 341 | | |
344 | 342 | | |
345 | 343 | | |
| |||
0 commit comments