• Jérome Perrin's avatar
    patches/Restricted: review RestrictionMutator patch · 900a9c1c
    Jérome Perrin authored
    Document (from my guess of why we have this behavior) why we have such a
    patch, also cover our expected behavior in a minimal test.
    
    Keep refusing methods ending in __roles__, so that we can run original
    AccessControl test suite, also because it seems safer and because
    allowing or not to define methods ending in __roles__ should not affect
    our cases.
    900a9c1c
test.erp5.testRestrictedPythonSecurity.py 16.7 KB