• Vincent Pelletier's avatar
    ERP5Type.patches.User: Scope role cache per user id. · 0b4fe995
    Vincent Pelletier authored
    When running test.erp5.testHalJsonStyle live tests, the same transaction
    seems to be seeing two different users. This cause an incorrect cache hit
    with the second user, which then retrieves values computed by & for the
    first user.
    Fix this by scoping the cache by user id, causing different cache entries
    to be used.
    0b4fe995
User.py 3.59 KB