r893: Forgot to include a huge security check for listing bugs
authorRobert Sesek <rsesek@bluestatic.org>
Mon, 17 Jul 2006 00:59:12 +0000 (00:59 +0000)
committerRobert Sesek <rsesek@bluestatic.org>
Mon, 17 Jul 2006 00:59:12 +0000 (00:59 +0000)
syndicate.php

index 5340e15435b7febf492843ff895b241359c428f8..64bc35c947a35aa015563a953d91c610abb3313a 100644 (file)
@@ -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