organization & userrelations free visibility
This commit is contained in:
@@ -256,7 +256,7 @@ class OrganizationViewSet(BaseViewSet, SoftDeleteMixin, ModelViewSet, DynamicSea
|
||||
|
||||
def list(self, request, *args, **kwargs):
|
||||
""" all organization """
|
||||
queryset = self.get_queryset()
|
||||
queryset = self.get_queryset(visibility_by_org_scope=True)
|
||||
|
||||
query = self.filter_query(queryset)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user