From fc71efe437ec36adf5c9955a7e677d72a41e6107 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Wed, 2 Mar 2022 07:34:12 +0100 Subject: [PATCH] enhance description of addAccess() --- SeedDMS_Core/Core/inc.ClassDocument.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/SeedDMS_Core/Core/inc.ClassDocument.php b/SeedDMS_Core/Core/inc.ClassDocument.php index cdf3b256e..e55f17ff0 100644 --- a/SeedDMS_Core/Core/inc.ClassDocument.php +++ b/SeedDMS_Core/Core/inc.ClassDocument.php @@ -1049,8 +1049,10 @@ class SeedDMS_Core_Document extends SeedDMS_Core_Object { /* {{{ */ /** * Add access right to folder - * This function may change in the future. Instead of passing the a flag + * This function may change in the future. Instead of passing a flag * and a user/group id a user or group object will be expected. + * Starting with version 5.1.25 this method will first check if there + * is already an access right for the user/group. * * @param integer $mode access mode * @param integer $userOrGroupID id of user or group