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:
Roberto Rosario
2017-02-22 16:47:42 -04:00
parent c8e9a625da
commit 958ce912a0
7 changed files with 83 additions and 199 deletions

View File

@@ -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: