zekroTJA / shinpuru

シンプル - Discord Bot with role selection, moderation, karma ranking, a starboard, code execution, raid alerting, backups, a web interface, twitch notifications and more!
https://shnp.de
MIT License
184 stars 37 forks source link

Permission on `sp.guild.mod.report.revoke` fails in the REST API #418

Closed zekroTJA closed 1 year ago

zekroTJA commented 1 year ago

Type

Functional Issue

Instance

Main Stable (shinpuru#4878 / shnp.de)

Description

It is impossible to revoke reports from the web interface if you are not the bot owner and even if you have explicitly set the permission on sp.guild.mod.report.revoke.

Steps to reproduce

  1. Create a report
  2. Add sp.guild.mod.report.revoke to a role of the executing user
  3. Revoke the created report in the web interface

Attachments

No response