only show "show all statuses" if user has privilege

This commit is contained in:
Henry Jameson 2026-06-11 12:04:22 +03:00
commit 8b3bdd2191

View file

@ -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':