👔(backend) doc restricted by default

By default a created document was in "authenticated"
mode, we switch to "restricted" by default.
This commit is contained in:
Anthony LC
2024-10-25 14:16:29 +02:00
committed by Anthony LC
parent 31c3dd6119
commit cbb6fc740a
5 changed files with 87 additions and 61 deletions

View File

@@ -336,7 +336,7 @@ class Document(BaseModel):
link_reach = models.CharField(
max_length=20,
choices=LinkReachChoices.choices,
default=LinkReachChoices.AUTHENTICATED,
default=LinkReachChoices.RESTRICTED,
)
link_role = models.CharField(
max_length=20, choices=LinkRoleChoices.choices, default=LinkRoleChoices.READER