Add manage permission to documents (#7003)

This commit is contained in:
Tom Moor
2024-06-10 20:38:23 -04:00
committed by GitHub
parent 1ad7c7409a
commit 7bf5c4e533
9 changed files with 43 additions and 20 deletions

View File

@@ -23,15 +23,16 @@ function InputSelectPermission(
ref={ref}
label={t("Permission")}
options={[
{
label: t("Can edit"),
value: CollectionPermission.ReadWrite,
},
{
label: t("View only"),
value: CollectionPermission.Read,
},
{
label: t("Can edit"),
value: CollectionPermission.ReadWrite,
},
{
divider: true,
label: t("No access"),
value: EmptySelectValue,
},