Commit b61c632c authored by Florent Guillaume's avatar Florent Guillaume

Merged 69002 from 2.10 branch:

  Correct view traversal security checks
parent a8150bfa
......@@ -260,6 +260,10 @@ class Traversable:
if next is not None:
next = next.__of__(obj)
if restricted:
if not securityManager.validate(
obj, obj, name, next):
raise Unauthorized, name
elif bobo_traverse is not None:
# Attribute lookup should not be done after
# __bobo_traverse__:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment