Fix experiment group details view
@@ -78,6 +78,9 @@ class ExperimentGroupDetailView(RetrieveUpdateDestroyAPIView):
permission_classes = (IsAuthenticated, IsItemProjectOwnerOrPublicReadOnly)
lookup_field = 'sequence'
+ def filter_queryset(self, queryset):
+ return queryset.filter(project=get_permissible_project(view=self))
+
def get_object(self):
obj = super(ExperimentGroupDetailView, self).get_object()
# Check project permissions
