erp5_oauth2_authorisation: Do not edit OAuth2 Session on every refresh token issuance
Malevolent users may decide to only - and repeatedly - present an otherwise valid refresh token, causing the issuance of a new access tokens everytime, likely along with new refresh tokens, causing many ZODB writes. Avoid this by pushing the token expiration date by one lifespan accuracy, so there can only be one write per session per lifespan accuracy period.
Status | Job ID | Name | Coverage | ||||||
---|---|---|---|---|---|---|---|---|---|
External | |||||||||
passed |
#725856
external
|
ERP5.CodingStyleTest-Master |
01:26:20
|
||||||
passed |
#730719
external
|
ERP5.CodingStyleTest-TestRunner1 |
13:12:14
|
||||||
passed |
#725851
external
|
ERP5.PerformanceTest-Master |
00:35:15
|
||||||
failed |
#730736
external
|
ERP5.PerformanceTest-TestRunner1 |
03:50:44
|
||||||
failed |
#725860
external
|
ERP5.UnitTest-Master |
03:44:44
|
||||||
passed |
#730803
external
|
ERP5.UnitTest-TestRunner1 |
09:54:23
|
||||||
passed |
#725973
external
|
SlapOS.Eggs.UnitTest-Master.Python2 |
00:26:11
|
||||||
passed |
#725875
external
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:27:40
|
||||||
passed |
#725853
external
|
Wendelin.UnitTest-Master |
00:46:19
|
||||||
passed |
#725690
external
retried
|
ERP5.CodingStyleTest-Master |
03:33:53
|
||||||
passed |
#725375
external
retried
|
ERP5.CodingStyleTest-TestRunner1 |
01:47:00
|
||||||
passed |
#725605
external
retried
|
ERP5.PerformanceTest-Master |
00:35:21
|
||||||
failed |
#725642
external
retried
|
ERP5.PerformanceTest-Master |
00:35:46
|
||||||
failed |
#725370
external
retried
|
ERP5.PerformanceTest-TestRunner1 |
00:35:16
|
||||||
failed |
#725784
external
retried
|
ERP5.UnitTest-Master |
04:51:59
|
||||||
passed |
#726748
external
retried
|
ERP5.UnitTest-TestRunner1 |
02:26:52
|
||||||
passed |
#726566
external
retried
|
ERP5.UnitTest-TestRunner1 |
01:54:00
|
||||||
passed |
#726451
external
retried
|
ERP5.UnitTest-TestRunner1 |
02:39:53
|
||||||
passed |
#726252
external
retried
|
ERP5.UnitTest-TestRunner1 |
03:07:59
|
||||||
passed |
#726135
external
retried
|
ERP5.UnitTest-TestRunner1 |
03:28:56
|
||||||
passed |
#725862
external
retried
|
ERP5.UnitTest-TestRunner1 |
02:53:56
|
||||||
passed |
#725746
external
retried
|
ERP5.UnitTest-TestRunner1 |
04:03:29
|
||||||
passed |
#730667
external
retried
|
ERP5.UnitTest-TestRunner1 |
12:51:41
|
||||||
passed |
#730001
external
retried
|
ERP5.UnitTest-TestRunner1 |
02:57:00
|
||||||
failed |
#729573
external
retried
|
ERP5.UnitTest-TestRunner1 |
02:52:03
|
||||||
failed |
#729437
external
retried
|
ERP5.UnitTest-TestRunner1 |
02:45:14
|
||||||
failed |
#729336
external
retried
|
ERP5.UnitTest-TestRunner1 |
02:32:40
|
||||||
passed |
#726952
external
retried
|
ERP5.UnitTest-TestRunner1 |
02:37:54
|
||||||
passed |
#725500
external
retried
|
ERP5.UnitTest-TestRunner1 |
11:00:01
|
||||||
passed |
#725384
external
retried
|
ERP5.UnitTest-TestRunner1 |
03:01:09
|
||||||
failed |
#725369
external
retried
|
ERP5.UnitTest-TestRunner1 |
05:31:41
|
||||||
passed |
#725634
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python2 |
00:24:23
|
||||||
passed |
#725892
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python2 |
00:25:32
|
||||||
passed |
#725597
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python2 |
00:23:15
|
||||||
passed |
#725718
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python2 |
00:32:29
|
||||||
passed |
#725585
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:26:00
|
||||||
passed |
#725651
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:26:24
|
||||||
passed |
#725754
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:26:52
|
||||||
passed |
#725706
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:28:43
|
||||||
passed |
#725770
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:30:23
|
||||||
passed |
#725807
external
retried
|
Wendelin.UnitTest-Master |
00:44:19
|
||||||
passed |
#725694
external
retried
|
Wendelin.UnitTest-Master |
01:10:36
|
||||||