[PWA] "View activity log" permission gives access to "Delete Community" button

(#2477) Bug Fixed desktop moderation

Observed behaviour

The button shows

Reproduction steps

  1. Create a role with the "View activity log" permission and give it to an alt
  2. On the alt, tap the server banner -> Community settings
  3. See the "Delete Community" button

Build information

canary build 618 (9acc443), Safari 26.2, iOS 18.7 (arm64), locale en-GB canary build 617 (8e3560a), Electron 41.2.2, Windows 11 10.0.26200 (x64), desktop canary 0.0.122, locale en-GB

Platform

Windows

Evidence

  1. showing desktop view
  2. showing mobile view

Details

Expected behaviour The button should not show
  • zen_VU2gKQnAJy.png

    zen_VU2gKQnAJy.png

    283×240 | 4 kB

  • zen_Ezo9RPXMKQ.png

    zen_Ezo9RPXMKQ.png

    397×315 | 8 kB

  1. Rex changed the status from Needs triage to Fixed

1 comment

Sign in with Fluxer to comment and vote.