diff --git a/atlas/tables.py b/atlas/tables.py index 9d32ca5b..388bba86 100755 --- a/atlas/tables.py +++ b/atlas/tables.py @@ -136,7 +136,10 @@ class CaseTable(tables.Table): collections = [ collection for collection in record.casecollection_set.all() - if (hasattr(self, 'request') and self.request.user == collection.author) or collection.open_access + if ( + hasattr(self, 'request') + and self.request.user in collection.author.all() + ) or collection.open_access ] if collections: links = [