Skip to content
Snippets Groups Projects
Commit 5a5ebbdc authored by Alex Barth's avatar Alex Barth
Browse files

Allow admins to see all importers.

parent 148d2155
No related branches found
No related tags found
No related merge requests found
......@@ -16,7 +16,7 @@ function feeds_page() {
if ($importer->disabled) {
continue;
}
if (!user_access('import '. $importer->id .' feeds')) {
if (!(user_access('import '. $importer->id .' feeds') || user_access('administer feeds'))) {
continue;
}
if (empty($importer->config['content_type'])) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment