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

_check_context() wasn't called for authenticated users

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