new_serialize for access restrictions
This commit is contained in:
parent
b8cc720c04
commit
38c6e6a863
2 changed files with 5 additions and 7 deletions
|
@ -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"
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue