AccessControlList.objects.check_access was updated to do a
Permission.check_permissions too. Remove duplicity. Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
@@ -273,7 +273,7 @@ class Link(object):
|
||||
except VariableDoesNotExist:
|
||||
pass
|
||||
|
||||
# If this link has a required permission check that the user have it
|
||||
# If this link has a required permission check that the user has it
|
||||
# too
|
||||
if self.permissions:
|
||||
if resolved_object:
|
||||
|
||||
Reference in New Issue
Block a user