Skip to content

[12.0] FIX queue_job avoiding AccessDenied when loading the module in an instance with list_db = False - #379

Merged
OCA-git-bot merged 1 commit into
OCA:12.0from
eLBati:12.0-get_db_names
Apr 21, 2022
Merged

OCA-git-bot merged 1 commit into
OCA:12.0from
eLBati:12.0-get_db_names

Conversation

@eLBati

@eLBati eLBati commented Oct 26, 2021

Copy link
Copy Markdown
Member

The scenario is a multi database environment where you can't set db_name as the databases change frequently and you use dbfilter to allow users to access their DB according to domain

Also see #58

…tance with list_db = False

The scenario is a multi database environment where you can't set db_name as the databases change frequently and you use dbfilter to allow users to access their DB according to domain

@sbidoul sbidoul left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Given that exp_list looks like this:

image

This change looks reasonable to me.

@guewen wdyt ?

@guewen

guewen commented Apr 21, 2022

Copy link
Copy Markdown
Member

/ocabot merge patch

@OCA-git-bot

Copy link
Copy Markdown
Contributor

Hey, thanks for contributing! Proceeding to merge this for you.
Prepared branch 12.0-ocabot-merge-pr-379-by-guewen-bump-patch, awaiting test results.

@OCA-git-bot
OCA-git-bot merged commit 5afb298 into OCA:12.0 Apr 21, 2022
@OCA-git-bot

Copy link
Copy Markdown
Contributor

Congratulations, your PR was merged at 925d499. 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