👔(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:25:48 +02:00
committed by Anthony LC
parent 31c3dd6119
commit cbb6fc740a
5 changed files with 87 additions and 61 deletions
+1 -1
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