diff --git a/app/assets/javascripts/discourse/templates/list/wide_categories.js.handlebars b/app/assets/javascripts/discourse/templates/list/wide_categories.js.handlebars
index 8dea442a780..f1e499e2f76 100644
--- a/app/assets/javascripts/discourse/templates/list/wide_categories.js.handlebars
+++ b/app/assets/javascripts/discourse/templates/list/wide_categories.js.handlebars
@@ -7,7 +7,9 @@
{{i18n categories.topics}} |
{{i18n categories.posts}} |
{{i18n categories.latest}}
+ {{#if canEdit}}
+ {{/if}}
|
diff --git a/app/controllers/categories_controller.rb b/app/controllers/categories_controller.rb
index e33aeb43c89..16bd5bd9a19 100644
--- a/app/controllers/categories_controller.rb
+++ b/app/controllers/categories_controller.rb
@@ -29,6 +29,8 @@ class CategoriesController < ApplicationController
end
def move
+ guardian.ensure_can_create!(Category)
+
params.require("category_id")
params.require("position")