Commit 078c973
committed
Resolves #6424(FR-2481)
## Summary
- Replace `BAIBadge` with Lucide lock icons (`LockIcon`/`LockOpenIcon`) in the admin Project page's Storage Nodes column
- All permissions allowed: `lock-open` icon in **success** (green) color
- Some permissions allowed: `lock-open` icon in **warning** (orange) color
- All permissions blocked: `lock` icon in **error** (red) color
## Verification
```
=== ALL PASS ===
```
## Screenshots
| Before | After |
|--------|-------|
|  |  |
## Test plan
- [ ] Navigate to Admin Settings > Projects
- [ ] Scroll right to the "Storage Nodes" column
- [ ] Verify lock-open icons appear in green for storage nodes with all permissions
- [ ] Verify lock-open icons appear in orange for storage nodes with partial permissions
- [ ] Verify lock icons appear in red for storage nodes with no permissions
- [ ] Click on a storage node to verify the permission detail modal still works
1 parent 595383b commit 078c973
1 file changed
Lines changed: 37 additions & 12 deletions
Lines changed: 37 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | 5 | | |
7 | 6 | | |
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
104 | 129 | | |
105 | 130 | | |
106 | 131 | | |
| |||
0 commit comments