[icinga-checkins] icinga.org: icingaweb2/master: Security: Fix PermissionsController class name

git at icinga.org git at icinga.org
Wed Nov 19 16:31:58 CET 2014


Module: icingaweb2
Branch: master
Commit: 63490094b98d7bfabec7b1cf20328039cd5067a5
URL:    https://git.icinga.org/?p=icingaweb2.git;a=commit;h=63490094b98d7bfabec7b1cf20328039cd5067a5

Author: Eric Lippmann <eric.lippmann at netways.de>
Date:   Wed Nov 19 15:24:57 2014 +0100

Security: Fix PermissionsController class name

refs #5647

---

 application/controllers/PermissionsController.php |    2 +-
 application/views/scripts/permissions/index.phtml |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/application/controllers/PermissionsController.php b/application/controllers/PermissionsController.php
index 9161553..effd808 100644
--- a/application/controllers/PermissionsController.php
+++ b/application/controllers/PermissionsController.php
@@ -8,7 +8,7 @@ use Icinga\Forms\Security\RoleForm;
 use Icinga\Web\Controller\ActionController;
 use Icinga\Web\Notification;
 
-class SecurityController extends ActionController
+class PermissionsController extends ActionController
 {
     public function indexAction()
     {
diff --git a/application/views/scripts/permissions/index.phtml b/application/views/scripts/permissions/index.phtml
index 520f42d..8918cdd 100644
--- a/application/views/scripts/permissions/index.phtml
+++ b/application/views/scripts/permissions/index.phtml
@@ -1,8 +1,8 @@
 <div class="content">
     <div>
-        <h1><?= $this->translate('Roles') ?></h1>
+        <h1><?= $this->translate('Permissions') ?></h1>
         <?php /** @var \Icinga\Application\Config $roles */ if ($roles->isEmpty()): ?>
-            <?= $this->translate('No roles found.') ?>
+            <?= $this->translate('No permissions found.') ?>
         <?php else: ?>
             <table class="action" data-base-target="_next">
                 <thead>



More information about the icinga-checkins mailing list