Commit 427dd64
committed
Try to reauthenticate on a http status code 403
If we get a http status code 403, we should try to reauthenticate in
case the session timed out. If we then still get the error, our user
might miss the permissions for the requested action.
Using a decorator to achieve this.1 parent 28d7e72 commit 427dd64
1 file changed
Lines changed: 18 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
161 | 174 | | |
162 | 175 | | |
163 | 176 | | |
| |||
314 | 327 | | |
315 | 328 | | |
316 | 329 | | |
| 330 | + | |
317 | 331 | | |
318 | 332 | | |
319 | 333 | | |
| |||
331 | 345 | | |
332 | 346 | | |
333 | 347 | | |
| 348 | + | |
334 | 349 | | |
335 | 350 | | |
336 | 351 | | |
| |||
348 | 363 | | |
349 | 364 | | |
350 | 365 | | |
| 366 | + | |
351 | 367 | | |
352 | 368 | | |
353 | 369 | | |
| |||
365 | 381 | | |
366 | 382 | | |
367 | 383 | | |
| 384 | + | |
368 | 385 | | |
369 | 386 | | |
370 | 387 | | |
| |||
378 | 395 | | |
379 | 396 | | |
380 | 397 | | |
| 398 | + | |
381 | 399 | | |
382 | 400 | | |
383 | 401 | | |
| |||
0 commit comments