Skip to content

Conversation

@legalsylvain
Copy link
Contributor

Hi all,
during the process of sending the email, the admin user is browsed by the current user. This can raise undesired AccessError if the admin user is not accessible by the current user at line 33. (try to access to admin_user.email).

this trivial patch fixes this problem.

Thanks for your review.

regards.

CC : @sebalix, @Fenkiou

@pedrobaeza
Copy link
Member

Please change module version number according https://github.com/OCA/maintainer-tools/blob/master/CONTRIBUTING.md#version-numbers

@legalsylvain
Copy link
Contributor Author

@pedrobaeza : Thanks for pointing that. Yes I'll do it. Just waiting approvals and see with the state of other current PR that changes version number. (ref : #1228) to avoid useless conflicts.

For the time being, what is your point of view about that fix ?

kind regards.

Copy link
Member

@pedrobaeza pedrobaeza left a comment

Choose a reason for hiding this comment

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

Sorry, I didn't push on the approval

@legalsylvain legalsylvain added this to the 10.0 milestone Jun 21, 2018
@legalsylvain legalsylvain merged commit 656f38e into OCA:10.0 Jun 25, 2018
@legalsylvain legalsylvain deleted the 10.0_FIX_AccessError_sending_mail branch June 25, 2018 08:39
@legalsylvain
Copy link
Contributor Author

version bumbed. commits squashed and merged. thanks for your review.

daramousk pushed a commit to daramousk/server-tools that referenced this pull request Jul 16, 2018
remihb pushed a commit to osiell/server-tools that referenced this pull request Jan 3, 2019
SiesslPhillip pushed a commit to grueneerde/OCA-server-tools that referenced this pull request Nov 20, 2024
Syncing from upstream OCA/server-tools (9.0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants