# 404 Extend API

* extends API shared record access with team based sharing
This commit is contained in:
2024-05-21 11:54:06 +02:00
parent 9e762584dc
commit 5ef840f172
4 changed files with 24 additions and 12 deletions

View File

@@ -23,11 +23,6 @@ class AbstractAPIViewV1(AbstractAPIView):
"""
def __init__(self, *args, **kwargs):
self.lookup = {
"id": None, # must be set in subclasses
"deleted__isnull": True,
"users__in": [], # must be set in subclasses
}
super().__init__(*args, **kwargs)
self.serializer = self.serializer()