From 99e94cdc274b9f13f6562782422272eca6fc0d2a Mon Sep 17 00:00:00 2001
From: "Hahn Axel (hahn)" <axel.hahn@iml.unibe.ch>
Date: Wed, 19 Apr 2017 16:47:54 +0200
Subject: [PATCH] deployment gui - task#1411 - commands on cli will be executed
 with "cliadmin"

---
 public_html/deployment/classes/user.class.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/public_html/deployment/classes/user.class.php b/public_html/deployment/classes/user.class.php
index 7df8085a..47bb7a95 100644
--- a/public_html/deployment/classes/user.class.php
+++ b/public_html/deployment/classes/user.class.php
@@ -193,7 +193,7 @@ class user {
      * @return type
      */
     public function showDenied(){
-        return 'USER: ' . $this->_sUsername . ' - groups ' . print_r($this->getUserGroups(),1) . '<div class="alert alert-danger" role="alert">'
+        return '<div class="alert alert-danger" role="alert">'
         . t("class-user-error-deny-no-role").'<br>('.$this->_sLastCheckedPermission.')</div><br>'
         . '<a href="/deployment/all/login/" class="btn btn-primary">'.t('menu-login').'</a>'
         ;
-- 
GitLab