Commit 6717d90
Specify reason for versioning-related permission-denied errors (temporalio#7588)
## What changed?
Specify reason for versioning-related permission-denied errors
## Why?
It was confusing for users when one type of versioning was enabled, but
if they used an API associated with a different version of versioning,
the error still just said "Worker versioning is disabled in this
namespace."
## How did you test it?
<!-- How have you verified this change? Tested locally? Added a unit
test? Checked in staging env? -->
## Potential risks
<!-- Assuming the worst case, what can be broken when deploying this
change to production? -->
## Documentation
<!-- Have you made sure this change doesn't falsify anything currently
stated in `docs/`? If significant
new behavior is added, have you described that in `docs/`? -->
## Is hotfix candidate?
<!-- Is this PR a hotfix candidate or does it require a notification to
be sent to the broader community? (Yes/No) -->
---------
Co-authored-by: Shahab Tajik <[email protected]>1 parent ae71eed commit 6717d90
2 files changed
+15
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
137 | | - | |
| 137 | + | |
| 138 | + | |
138 | 139 | | |
139 | 140 | | |
140 | 141 | | |
| |||
146 | 147 | | |
147 | 148 | | |
148 | 149 | | |
149 | | - | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
150 | 153 | | |
151 | 154 | | |
152 | 155 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3363 | 3363 | | |
3364 | 3364 | | |
3365 | 3365 | | |
3366 | | - | |
| 3366 | + | |
3367 | 3367 | | |
3368 | 3368 | | |
3369 | 3369 | | |
| |||
3392 | 3392 | | |
3393 | 3393 | | |
3394 | 3394 | | |
3395 | | - | |
| 3395 | + | |
3396 | 3396 | | |
3397 | 3397 | | |
3398 | 3398 | | |
| |||
3426 | 3426 | | |
3427 | 3427 | | |
3428 | 3428 | | |
3429 | | - | |
| 3429 | + | |
3430 | 3430 | | |
3431 | 3431 | | |
3432 | 3432 | | |
| |||
3467 | 3467 | | |
3468 | 3468 | | |
3469 | 3469 | | |
3470 | | - | |
| 3470 | + | |
3471 | 3471 | | |
3472 | 3472 | | |
3473 | 3473 | | |
| |||
4268 | 4268 | | |
4269 | 4269 | | |
4270 | 4270 | | |
4271 | | - | |
| 4271 | + | |
4272 | 4272 | | |
4273 | 4273 | | |
4274 | 4274 | | |
| |||
4310 | 4310 | | |
4311 | 4311 | | |
4312 | 4312 | | |
4313 | | - | |
| 4313 | + | |
4314 | 4314 | | |
4315 | 4315 | | |
4316 | 4316 | | |
| |||
4343 | 4343 | | |
4344 | 4344 | | |
4345 | 4345 | | |
4346 | | - | |
| 4346 | + | |
4347 | 4347 | | |
4348 | 4348 | | |
4349 | 4349 | | |
| |||
4383 | 4383 | | |
4384 | 4384 | | |
4385 | 4385 | | |
4386 | | - | |
| 4386 | + | |
4387 | 4387 | | |
4388 | 4388 | | |
4389 | 4389 | | |
| |||
4422 | 4422 | | |
4423 | 4423 | | |
4424 | 4424 | | |
4425 | | - | |
| 4425 | + | |
4426 | 4426 | | |
4427 | 4427 | | |
4428 | 4428 | | |
| |||
5260 | 5260 | | |
5261 | 5261 | | |
5262 | 5262 | | |
5263 | | - | |
| 5263 | + | |
5264 | 5264 | | |
5265 | 5265 | | |
5266 | 5266 | | |
| |||
0 commit comments