feat(access): Add multi-tennant manager

manager filters results to that of data from the organizations the users is part of.

!42 #124
This commit is contained in:
2024-07-15 13:38:24 +09:30
parent 9acc4fdfcb
commit f1201e8933
11 changed files with 208 additions and 134 deletions

View File

@ -80,7 +80,9 @@ class OrganizationMixin():
id = int(self.request.POST.get(field))
except:
pass
return id