details: https://code.tryton.org/tryton/commit/ec8080711b9f
branch: 7.0
user: Cédric Krier <[email protected]>
date: Wed Sep 23 12:08:23 2026 +0200
description:
Do not enforce check access when renewing device cookie
Closes #15118
(grafted from cd8a5e16e44c265bcf96c17718c9d9b4ae4e3b09)
diffstat:
trytond/trytond/res/user.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 3703faf20a6c -r ec8080711b9f trytond/trytond/res/user.py
--- a/trytond/trytond/res/user.py Fri Sep 18 23:41:26 2026 +0200
+++ b/trytond/trytond/res/user.py Wed Sep 23 12:08:23 2026 +0200
@@ -935,7 +935,7 @@
def __setup__(cls):
super().__setup__()
cls.__rpc__.update({
- 'renew': RPC(readonly=False),
+ 'renew': RPC(readonly=False, check_access=False),
})
@classmethod