From 0c9e2c65e003740d4782d2a398ac0f33222b017a Mon Sep 17 00:00:00 2001 From: Bob Olde Hampsink Date: Wed, 21 May 2014 14:09:53 +0200 Subject: [PATCH 1/3] Only list sections for which the user has permissions, also fixing an entrytype listing bug if the first found section was a single. --- templates/upload.html | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/templates/upload.html b/templates/upload.html index b75c764..bc62e0e 100644 --- a/templates/upload.html +++ b/templates/upload.html @@ -18,7 +18,10 @@
- {% set sections = craft.sections.getAllSections() %} + {% set sections = {} %} + {% for section in craft.sections.getEditableSections() if section.type != 'single' %} + {% set sections = sections|merge([section]) %} + {% endfor %} @@ -37,7 +40,7 @@
From 8f214fbdf142b784364d857fed5bd65b627c9584 Mon Sep 17 00:00:00 2001 From: Bob Olde Hampsink Date: Wed, 21 May 2014 14:10:51 +0200 Subject: [PATCH 2/3] Updated README for 0.6.8 --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 6734003..1b62d58 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,9 @@ Map fields (2) Changelog ================= +###0.6.8### + - Only list sections for which the user has permissions, also fixing an entrytype listing bug if the first found section was a single. + ###0.6.7### - Bugfix: Criteria matching now checks all statuses and has no limit From 9eac132d729eb3dea6552f7c0fabe0e4ad66a360 Mon Sep 17 00:00:00 2001 From: Bob Olde Hampsink Date: Wed, 21 May 2014 14:11:22 +0200 Subject: [PATCH 3/3] Forgot to update the plugin's version number for a while --- ImportPlugin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ImportPlugin.php b/ImportPlugin.php index 06949f8..1770b88 100644 --- a/ImportPlugin.php +++ b/ImportPlugin.php @@ -10,7 +10,7 @@ function getName() function getVersion() { - return '0.6.1'; + return '0.6.8'; } function getDeveloper()