Module: nagvis
Branch: master
Commit: 32ae1897a1a41d2f1fb3c9da10321df81f16479c
URL:    
http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis;a=commit;h=32ae1897a1a41d2f1fb3c9da10321df81f16479c

Author: LaMi <[email protected]>
Date:   Sat Nov 14 22:10:03 2009 +0100

Grouped more permissions

---

 .../core/classes/CoreAuthorisationHandler.php      |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/share/server/core/classes/CoreAuthorisationHandler.php 
b/share/server/core/classes/CoreAuthorisationHandler.php
index 6443f9c..b4383b6 100644
--- a/share/server/core/classes/CoreAuthorisationHandler.php
+++ b/share/server/core/classes/CoreAuthorisationHandler.php
@@ -55,6 +55,21 @@ class CoreAuthorisationHandler {
                ),
                'ChangePassword' => Array(
                        'view' => 'change'
+               ),
+               'UserMgmt' => Array(
+                       'view' => 'manage',
+                       'getUserRoles' => 'manage',
+                       'getAllRoles' => 'manage',
+                       'doAdd' => 'manage',
+                       'doEdit' => 'manage',
+                       'doDelete' => 'manage',
+               ),
+               'RoleMgmt' => Array(
+                       'view' => 'manage',
+                       'getRolePerms' => 'manage',
+                       'doAdd' => 'manage',
+                       'doEdit' => 'manage',
+                       'doDelete' => 'manage',
                ));
        
        public function __construct(GlobalCore $CORE, CoreAuthHandler $AUTH, 
$sModule) {


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to