• Leonardo Rochael Almeida's avatar
    Do not recursively reindex security unnecessarily · 71e8596e
    Leonardo Rochael Almeida authored
    In ERP5, objects that do not acquire local roles (according to their portal type configuration) do not need to be reindexed with their containers.
    So do not reindex recursively if portal_types of contained objects don't need it.
    
    Security reindexing can be customized with a type-based method.
    
    Fix test that wrongly relied on unrestricted access for updating object roles.
    71e8596e
testCRM.py 69.3 KB