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

Author: Lars Michelsen <[email protected]>
Date:   Sun Oct 18 02:56:33 2009 +0200

#16 Added first code for SQLite powered authentication and autorisation; Also 
implemented the third autorisation level. Now we have module, action and 
object. The object is an optional check

---

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

diff --git a/share/server/core/classes/CoreAuthorisationHandler.php 
b/share/server/core/classes/CoreAuthorisationHandler.php
index 03b7487..4a2a749 100644
--- a/share/server/core/classes/CoreAuthorisationHandler.php
+++ b/share/server/core/classes/CoreAuthorisationHandler.php
@@ -59,7 +59,7 @@ class CoreAuthorisationHandler {
                                                $bAutorized = true;
                                        } else {
                                                // FIXME: Logging
-                                               echo 'object denied';
+                                               //echo 'object denied';
                                                $bAutorized = false;
                                        }
                                } else {
@@ -67,12 +67,12 @@ class CoreAuthorisationHandler {
                                }
                        } else {
                                // FIXME: Logging
-                               echo 'action denied';
+                               //echo 'action denied';
                                $bAutorized = false;
                        }
                } else {
                        // FIXME: Logging
-                       echo 'module denied';
+                       //echo 'module denied';
                        $bAutorized = false;
                }
                


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to