Skip to content
Snippets Groups Projects
Commit 20d2659e authored by Thibault Francois's avatar Thibault Francois Committed by Raphael Collet
Browse files

[FIX] base: don't swith back with su=False in _name_search

    When you have su == True in your env and you call _name_search
    the _name_search was switching back to su = False
    when you call with_user with the same user or with None

    To reproduce the issue, take a model where a user has
    no access.control.list allowing to read the model
    call name_search with sudo.
parent e1f1a066
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment