• Vincent Pelletier's avatar
    ERP5Type: Disallow restricted python from calling immediate reindexation methods · 522da1c2
    Vincent Pelletier authored
    Calling these can break catalog by not caring about concurrent indexation
    activities. Even non-restricted code should not call these, but:
    - they cannot be reliably renamed, as there exist activity dependencies
      looking for these exact names (which is a bad practice on its own)
    - there is no simple access control mechanism for non-restricted code
    So rely on developer discipline instead.
    522da1c2
Base.py 135 KB