[icinga-checkins] icinga.org: icinga-web/support/1.11: UserManager: Fix user roles grid

git at icinga.org git at icinga.org
Fri Jun 20 12:32:35 CEST 2014


Module: icinga-web
Branch: support/1.11
Commit: 375f841426e02ea6f2a293e1ff0f9c6b8d685f53
URL:    https://git.icinga.org/?p=icinga-web.git;a=commit;h=375f841426e02ea6f2a293e1ff0f9c6b8d685f53

Author: Marius Hein <marius.hein at netways.de>
Date:   Fri Jun 20 12:31:29 2014 +0200

UserManager: Fix user roles grid

Roles show description field now.

fixes #6261

---

 app/modules/AppKit/actions/DataProvider/UserProviderAction.class.php |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/modules/AppKit/actions/DataProvider/UserProviderAction.class.php b/app/modules/AppKit/actions/DataProvider/UserProviderAction.class.php
index c1ce19d..aa547f9 100644
--- a/app/modules/AppKit/actions/DataProvider/UserProviderAction.class.php
+++ b/app/modules/AppKit/actions/DataProvider/UserProviderAction.class.php
@@ -82,7 +82,7 @@ class AppKit_DataProvider_UserProviderAction extends AppKitBaseAction {
             $userObject["roles"][] = array(
                 "id" => $role->role_id,
                 "name" => $role->role_name,
-                "description" => $role->role_name,
+                "description" => $role->role_description,
                 "active" => $role->role_disabled != 1
             );
         }



More information about the icinga-checkins mailing list