Menu

Commit [r6482]  Maximize  Restore  History

Improvements to the per-request permission (decision) cache by storing the resource for disambiguation in case two resources have the same hash. It also does away with using exceptions, and instead uses regular flow control.

Finally it adds some tests for `Resource.__eq__()` to make sure the resource equality checking works as expected.

Closes #5668

osimons 2008-02-05

changed /trunk/trac/perm.py
changed /trunk/trac/tests/resource.py
/trunk/trac/perm.py Diff Switch to side-by-side view
Loading...
/trunk/trac/tests/resource.py Diff Switch to side-by-side view
Loading...