Module: nagvis Branch: master Commit: f82eb630437c09649f7de0a40e6faf9b574924a0 URL: http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis;a=commit;h=f82eb630437c09649f7de0a40e6faf9b574924a0
Author: Lars Michelsen <[email protected]> Date: Thu Oct 22 21:11:38 2009 +0200 AA information are now available in the GlobalCore and can be used everywhere in the NagVis code --- share/server/core/ajax_handler.php | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/share/server/core/ajax_handler.php b/share/server/core/ajax_handler.php index 6dee57e..872c01d 100644 --- a/share/server/core/ajax_handler.php +++ b/share/server/core/ajax_handler.php @@ -83,6 +83,9 @@ if($AUTH->isAuthenticated()) { $AUTHORISATION = null; } +// Make the AA information available to whole NagVis for permission checks +$CORE->setAA($AUTH, $AUTHORISATION); + /* * Module handling 1: Choose modules */ ------------------------------------------------------------------------------ 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
