瀏覽代碼

Merge branch 'add/report-users-mod-privilege' into 'fine_grained_moderation_privileges'

Add report manage reports privilege for fallback mods into fine grained FE MR

See merge request ilja/pleroma-fe!1
Ilja 2 年之前
父節點
當前提交
650d195f44
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/services/entity_normalizer/entity_normalizer.service.js

+ 2 - 1
src/services/entity_normalizer/entity_normalizer.service.js

@@ -141,7 +141,8 @@ export const parseUser = (data) => {
         ]
       } else if (data.pleroma.is_moderator) {
         output.privileges = [
-          'messages_delete'
+          'messages_delete',
+          'reports_manage_reports'
         ]
       } else {
         output.privileges = []