r2169 - add some comments for future reference
[racktables] / link_helper.php
index ab0fc5d655c60aa15984e80050b5cb33846b10f3..7445f9f1028a8a7f926a13a9529c33a574e51e65 100644 (file)
@@ -3,7 +3,12 @@
        // This is our context.
        $pageno = 'objects';
        $tabno = 'default';
-       authorize();
+       fixContext();
+       if (!permitted())
+       {
+               renderAccessDenied();
+               die;
+       }
 ?>
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" style="height: 100%;">