Skip to content

[18.0][FIX] impersonate_login access issues#913

Open
Kev-Roche wants to merge 1 commit intoOCA:18.0from
akretion:18.0-fix-access_issues
Open

[18.0][FIX] impersonate_login access issues#913
Kev-Roche wants to merge 1 commit intoOCA:18.0from
akretion:18.0-fix-access_issues

Conversation

@Kev-Roche
Copy link
Contributor

Related to issue : #902
Add an inheritable function to keep real user on create / write on selected models. In this case, transient and abstract models.

cc @florian-dacosta

Copy link
Contributor

@florian-dacosta florian-dacosta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code review LGTM
It should fixes most of the errors linked to the issue. if we find more error of this type on not transient models, we can decide if we need to do something more then.
At least the hook gives the possibility to manage it with real user in your own project if you feel the need.
Thanks

@florian-dacosta
Copy link
Contributor

@sebastienbeau can you review please ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants