From 7877ef96fe671f9f89f4c5cda3bcfe21c7a4ccfd Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Mon, 17 Jul 2006 00:59:12 +0000 Subject: [PATCH] r893: Forgot to include a huge security check for listing bugs --- syndicate.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/syndicate.php b/syndicate.php index 5340e15..64bc35c 100644 --- a/syndicate.php +++ b/syndicate.php @@ -33,6 +33,11 @@ if (!defined('SYND_TYPE')) define('SYND_TYPE', 'atom'); } +if (!can_perform('canviewbugs')) +{ + $message->error_permission(); +} + // ################################################################### // get the syndicated items and prepare their content -- 2.22.5