logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe git clone https://hacktivis.me/git/pleroma-fe.git
commit: 650d195f44610b453f1a297499fd103b19e0a855
parent 56d1232588cac825b960782868e2ea3148371f33
Author: Ilja <672-ilja@users.noreply.git.pleroma.social>
Date:   Mon,  8 Aug 2022 18:36:05 +0000

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

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