Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

16.0][FIX] report_label fix a security issue #825

Merged
merged 1 commit into from
Dec 12, 2023

Conversation

nayatec
Copy link
Contributor

@nayatec nayatec commented Dec 12, 2023

Odoo V16 does not allow 'regular' users (ie users with no Admin/Access Right group) to acces to ir.model at all and ir.ui.view either (only for group Admin/Settings for the latter), therefore i added some sudoes to allow users with no such right to be able to actually print labels.
Did not find a more elegant solution.

@OCA-git-bot
Copy link
Contributor

Hi @ivantodorovich,
some modules you are maintaining are being modified, check this out!

Copy link
Contributor

@ivantodorovich ivantodorovich left a comment

Choose a reason for hiding this comment

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

Makes sense, thanks for fixing it!

@ivantodorovich
Copy link
Contributor

/ocabot merge patch

@OCA-git-bot
Copy link
Contributor

On my way to merge this fine PR!
Prepared branch 16.0-ocabot-merge-pr-825-by-ivantodorovich-bump-patch, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit ed1d858 into OCA:16.0 Dec 12, 2023
6 of 7 checks passed
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at 798964e. Thanks a lot for contributing to OCA. ❤️

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.

4 participants