Ver Fonte

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 há 2 anos atrás
pai
commit
650d195f44

+ 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 = []