質問の削除に関する制限について / Restrict question deletion when answers exist

Viewed 33

日本語

Apache Answer を使用しています。起票者が質問に回答がある場合、その質問を削除できないようにしたいのですが、設定方法はありますか?
プラグインや管理者設定で対応可能でしょうか?

English

I'm using Apache Answer. I want to prevent question authors from deleting their questions if there are answers.
Is there a way to configure this, either through admin settings or plugins?

2 Answers

First of all there are certain conditions for deletion. https://meta.answer.dev/questions/D1s53/E1u53

For example, there is a question and there is an answer to that question, and that answer has not been accepted and there are no upvote. It does not fulfil any of the above rules, then it can be deleted.

If you want to keep any question with an answer from being deleted, then there really isn't a feature for that right now.

Currently there is no feature to support this, it can only be done by modifying the source code. You could try submitting an issue to see if any other users need such a feature. https://github.com/apache/answer/issues

Question author cannot delete own question if any of these are true:

  • It has only one answer, and that answer has votes (positive or negative).
  • There is an accepted answer.
  • There are multiple answers (voted or not).