This commit is contained in:
cuom1999 2024-04-13 20:02:59 -05:00
parent c6c5ea0c7a
commit 4a2bc46206

View file

@ -83,7 +83,7 @@ class Comment(MPTTModel):
if organization: if organization:
queryset = queryset.filter(author__in=organization.members.all()) queryset = queryset.filter(author__in=organization.members.all())
object_access = CacheDict(lambda p: p.is_accessible_by(user)) problem_access = CacheDict(lambda p: p.is_accessible_by(user))
contest_access = CacheDict(lambda c: c.is_accessible_by(user)) contest_access = CacheDict(lambda c: c.is_accessible_by(user))
blog_access = CacheDict(lambda b: b.is_accessible_by(user)) blog_access = CacheDict(lambda b: b.is_accessible_by(user))