From 8b3bdd2191ad4e8dea29d6075ac2016585bdb26c Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Thu, 11 Jun 2026 12:04:22 +0300 Subject: [PATCH] only show "show all statuses" if user has privilege --- src/components/moderation_tools/moderation_tools.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/moderation_tools/moderation_tools.js b/src/components/moderation_tools/moderation_tools.js index 511623304..35b0cbed1 100644 --- a/src/components/moderation_tools/moderation_tools.js +++ b/src/components/moderation_tools/moderation_tools.js @@ -274,7 +274,8 @@ const ModerationTools = { switch (group) { case 'action': - return true + if (name === 'statuses') return this.privileged('users_read') + else return true case 'rights': return this.canGrantRole(name, value) case 'state':