Commit 74dd8761 authored by Andreas Jung's avatar Andreas Jung

_check_context() wasn't called for authenticated users

parent 435fda11
......@@ -182,7 +182,8 @@ class BasicUser(Implicit):
# role and user is not nobody
if 'Authenticated' in object_roles and (
self.getUserName() != 'Anonymous User'):
return 1
if self._check_context(object):
return 1
# Check for ancient role data up front, convert if found.
# This should almost never happen, and should probably be
......
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