From 16e70a0cdd45517c7e7838c9551cc7a54c7bc081 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Mon, 5 Feb 2018 08:50:15 +0100 Subject: [PATCH] recipients may be set with read/write access --- op/op.SetRecipients.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/op/op.SetRecipients.php b/op/op.SetRecipients.php index 926e010a8..554af3267 100644 --- a/op/op.SetRecipients.php +++ b/op/op.SetRecipients.php @@ -40,7 +40,7 @@ if (!is_object($document)) { UI::exitError(getMLText("document_title", array("documentname" => getMLText("invalid_doc_id"))),getMLText("invalid_doc_id")); } -if ($document->getAccessMode($user) < M_ALL) { +if ($document->getAccessMode($user) < M_READWRITE) { UI::exitError(getMLText("document_title", array("documentname" => $document->getName())),getMLText("access_denied")); }