Delete an forum post request not possible for orga or bot, ambassador

Summary

If an Orga or BOT want to delete an request for an forum post, it appears an error message, see screenshots.

Steps to reproduce

It is possible to produce it locally:

  • change SeedCommand.php and add the region for Niedersachsen (ID = 57). (see screenshot)
  • add the users to the new region. (see screenshot)
  • start ./scripts/seed
  • login with user2 and write an forum post in the forum of Niedersachsen.
  • go to http://localhost:18084/#/ and click the link in the new mail.
  • click on Thema löschen

What is the current bug behavior?

  • error message appears
  • forum post request is not deleted

What is the expected correct behavior?

  • forum post request should be deleted

Relevant error messages and/or screenshots

Bildschirmfoto_von_2020-05-16_18-02-16 image Bildschirmfoto_von_2020-05-16_17-36-59 Bildschirmfoto_von_2020-05-16_17-36-51

Possible fixes

Edited by ToLei