From 78ffd5b80f7917dc1f5830d6347797ae0da3ea25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roland=20H=C3=A4der?= Date: Sun, 16 Jul 2017 20:35:42 +0200 Subject: [PATCH] fixed parser error MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- include/security.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/include/security.php b/include/security.php index 70896992d..5d563f324 100644 --- a/include/security.php +++ b/include/security.php @@ -275,6 +275,13 @@ function permissions_sql($owner_id, $remote_verified = false, $groups = null) */ if ($local_user && $local_user == $owner_id) { $sql = ''; + /** + * Authenticated visitor. Unless pre-verified, + * check that the contact belongs to this $owner_id + * and load the groups the visitor belongs to. + * If pre-verified, the caller is expected to have already + * done this and passed the groups into this function. + */ } elseif ($remote_user) { /* * Authenticated visitor. Unless pre-verified,