- Notifications
You must be signed in to change notification settings - Fork928
Commit422e044
authored
chore: forbidden error on create workspace without permissions (#14347)
Multi-org enables the possibility of a user having template permissions,but not workspace create permissions. The unauthorized error should bereturned instead of a 404. This does not leak any information the usercannot already obtain.1 parentc3ef7dc commit422e044
1 file changed
+16
-7
lines changedLines changed: 16 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
374 | 374 |
| |
375 | 375 |
| |
376 | 376 |
| |
377 |
| - | |
378 |
| - | |
379 |
| - | |
380 |
| - | |
381 |
| - | |
382 |
| - | |
383 |
| - | |
384 | 377 |
| |
385 | 378 |
| |
386 | 379 |
| |
| |||
522 | 515 |
| |
523 | 516 |
| |
524 | 517 |
| |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
525 | 534 |
| |
526 | 535 |
| |
527 | 536 |
| |
|
0 commit comments
Comments
(0)