X-Git-Url: https://code.racktables.org/racktables/blobdiff_plain/b325120a97812984ec178c5ac74e945d5292dff7..6807f0be8080b3113efb821df8512e6c7e2a4651:/link_helper.php diff --git a/link_helper.php b/link_helper.php index ab0fc5d6..7445f9f1 100644 --- a/link_helper.php +++ b/link_helper.php @@ -3,7 +3,12 @@ // This is our context. $pageno = 'objects'; $tabno = 'default'; - authorize(); + fixContext(); + if (!permitted()) + { + renderAccessDenied(); + die; + } ?>