Skip to content

A platform for community discussion. Free, open, simple.

FIX: mods should be able to grant badges in post wrench (#5522)

Kyle Zhaoafaf9fd54c8c
diff --git a/app/assets/javascripts/discourse/widgets/post-admin-menu.js.es6 b/app/assets/javascripts/discourse/widgets/post-admin-menu.js.es6
index a1c4325bd40..e21317a74fb 100644
--- a/app/assets/javascripts/discourse/widgets/post-admin-menu.js.es6
+++ b/app/assets/javascripts/discourse/widgets/post-admin-menu.js.es6
@@ -64,7 +64,9 @@ export function buildManageButtons(attrs, currentUser) {
action: 'changePostOwner',
className: 'change-owner'
});
+ }
+ if (currentUser.staff) {
contents.push({
icon: 'certificate',
label: 'post.controls.grant_badge',