Explorar o código

Update fallback privileges for moderators to include reports_manage_reports

Sean King %!s(int64=2) %!d(string=hai) anos
pai
achega
470654d275

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