From cf6f8b952d0583049bc1f13ba0c5e0112cdb1e2e Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Mon, 22 Aug 2016 06:26:34 +0200 Subject: [PATCH] add access check for MyDocuments, MyAccount, MyTransmittals --- views/bootstrap/class.Bootstrap.php | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/views/bootstrap/class.Bootstrap.php b/views/bootstrap/class.Bootstrap.php index 5735c4de0..3242ab7c8 100644 --- a/views/bootstrap/class.Bootstrap.php +++ b/views/bootstrap/class.Bootstrap.php @@ -309,8 +309,10 @@ $(document).ready(function () { $content .= " \n"; $content .= " \n"; } - $content .= "
  • \n"; - $content .= "
  • ".getMLText("my_documents")."
  • \n"; + if ($this->check_access('MyDocuments')) { + $content .= "
  • \n"; + $content .= "
  • ".getMLText("my_documents")."
  • \n"; + } $content .= " \n"; // $content .= " \n"; // $content .= " \n"; @@ -336,9 +338,12 @@ $(document).ready(function () { echo "