[18.0][MIG] fastapi_auth_jwt: Migration to 18.0#490
Conversation
26f6aac to
3924b66
Compare
|
/ocabot migration fastapi_auth_jwt |
b9a8abf to
0ec27f7
Compare
0a6830a to
c24ed0d
Compare
c24ed0d to
f8b16df
Compare
fastapi_auth_jwt/dependencies.py
Outdated
| request, response, authorization_header, validator | ||
| ) | ||
| uid = validator._get_and_check_uid(payload) | ||
| return odoo_env(user=uid) |
There was a problem hiding this comment.
| return odoo_env(user=uid) | |
| return env(user=uid) |
@dnplkndll small error here. Thanks for the migration!
f8b16df to
fb0efca
Compare
eda94c4 to
cc37270
Compare
|
@dnplkndll Can you please rebase? 🙏 |
cc37270 to
216ee2a
Compare
|
the conflict is resolved and code is fine now. |
|
@kobros-tech As you reacted here, I suppose this superseeds your PR #483 ? |
yes, I run both and compare them to each other to see which approach is the best. |
216ee2a to
e64c838
Compare
|
how do you think now? |
e64c838 to
b1a63a2
Compare
|
|
||
| from contextlib import contextmanager | ||
|
|
||
| import odoo |
There was a problem hiding this comment.
extendable should not be modified
lmignon
left a comment
There was a problem hiding this comment.
Thank your for the migration @dnplkndll
Can you add the code from #402. This fix is missing into the migrated code.
…authenticated partner is allowed
|
@lmignon |
|
@lmignon |
|
There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. |
|
/ocabot rebase |
|
@lmignon The rebase process failed, because command |
|
/ocabot merge nobump |
|
Hey, thanks for contributing! Proceeding to merge this for you. |
|
Congratulations, your PR was merged at 54328ec. Thanks a lot for contributing to OCA. ❤️ |
Depends on: