• Tres Seaver's avatar
    Ensure that in the presence of proxy roles, if none match, then lose. · 69fdac20
    Tres Seaver authored
    Use the "wrapped" owner when testing context inside proxy roles.
    
    Therfore, move check of user's roles to end, since  proxy roles make the user's
    roles irrelevant.  This also simplifies the C version, as well, since we don't
    need to worry about setting the result back to NULL if we haven't assigned it
    when an error occurs.
    
    Incorporate comments from the C version (so that correspondence is clearer).
    69fdac20
ImplPython.py 30.9 KB