logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe git clone https://hacktivis.me/git/pleroma-fe.git
commit: 470654d27576ed299c056ed7f3b340317917bb36
parent 56d1232588cac825b960782868e2ea3148371f33
Author: Sean King <seanking2919@protonmail.com>
Date:   Sun,  7 Aug 2022 01:20:49 -0600

Update fallback privileges for moderators to include reports_manage_reports

Diffstat:

Msrc/services/entity_normalizer/entity_normalizer.service.js3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/services/entity_normalizer/entity_normalizer.service.js b/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 = []