- Notifications
You must be signed in to change notification settings - Fork928
Commit015a6f9
authored
fix: RBAC should default deny missing variables. (#5105)
* fix: RBAC should default deny missing variables.The default behavior was to use 'true' for missing variables. Thiswas an incorrect assumption. If the variable is missing, the newdefault is to deny (fail secure).* Assert 1 workspace is returned for the owners1 parent1fcc7ca commit015a6f9
File tree
3 files changed
+11
-5
lines changed- coderd
- rbac
3 files changed
+11
-5
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
470 | 470 |
| |
471 | 471 |
| |
472 | 472 |
| |
473 |
| - | |
| 473 | + | |
474 | 474 |
| |
475 | 475 |
| |
476 | 476 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
84 | 84 |
| |
85 | 85 |
| |
86 | 86 |
| |
87 |
| - | |
| 87 | + | |
88 | 88 |
| |
89 | 89 |
| |
90 | 90 |
| |
|
Lines changed: 9 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
170 | 170 |
| |
171 | 171 |
| |
172 | 172 |
| |
173 |
| - | |
174 |
| - | |
| 173 | + | |
| 174 | + | |
175 | 175 |
| |
176 | 176 |
| |
177 |
| - | |
| 177 | + | |
178 | 178 |
| |
179 | 179 |
| |
180 | 180 |
| |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
181 | 187 |
| |
182 | 188 |
| |
183 | 189 |
| |
|
0 commit comments
Comments
(0)