diff --git a/feeds.pages.inc b/feeds.pages.inc index 022d7b9cbf49aac565510ad8723c3ec27f9a5946..3d30f4f402019f9472b39514ad3103c3ac5e5234 100644 --- a/feeds.pages.inc +++ b/feeds.pages.inc @@ -8,8 +8,6 @@ /** * Render a page of available feed configuration. - * - * @todo Respect permissions. */ function feeds_page() { $rows = array(); @@ -18,6 +16,9 @@ function feeds_page() { if ($importer->disabled) { continue; } + if (!user_access('import '. $importer->id .' feeds')) { + continue; + } if (empty($importer->config['content_type'])) { $link = 'import/'. $importer->id; $title = $importer->config['name'];