new_serialize for access restrictions

This commit is contained in:
Laura Klünder 2024-12-04 11:45:03 +01:00
parent b8cc720c04
commit 38c6e6a863
2 changed files with 5 additions and 7 deletions

View file

@ -390,7 +390,7 @@ class AccessRestrictionSchema(TitledSchema, DjangoModelSchema):
If they do, you can only see them if you have a permission to see objects with this access retriction.
"""
open: bool
public: bool
groups: list[PositiveInt] = APIField(
title="access restriction groups"
)