diff --git a/ipynbsrv/api/serializer.py b/ipynbsrv/api/serializer.py index 64df83d..28a6cb8 100644 --- a/ipynbsrv/api/serializer.py +++ b/ipynbsrv/api/serializer.py @@ -231,7 +231,7 @@ class NestedShareSerializer(serializers.ModelSerializer): """ tags = TagSerializer(many=True, read_only=True) members = NestedBackendUserSerializer(source='get_members', many=True, read_only=True) - access_groups = NestedCollaborationGroupSerializer(many=True, read_only=True) + access_groups = FlatCollaborationGroupSerializer(many=True, read_only=True) owner = NestedBackendUserSerializer(many=False, read_only=True) class Meta: diff --git a/ipynbsrv/web/templates/web/shares/manage.html b/ipynbsrv/web/templates/web/shares/manage.html index ad4a1d2..d80a65e 100644 --- a/ipynbsrv/web/templates/web/shares/manage.html +++ b/ipynbsrv/web/templates/web/shares/manage.html @@ -102,28 +102,6 @@