ACGN-stock / acgn-stock

PTT ACGN股票交易市場
https://acgn-stock.com
MIT License
262 stars 37 forks source link

檢舉系統:舉報人與被檢舉人的回應功能 #639

Closed SoftwareSing closed 4 years ago

SoftwareSing commented 4 years ago

讓舉報人和被列入違規名單的人可以對案件發言回應

dbViolationCaseActionLogs 中,原先的 comment action 更名為 fscComment,並增加二個 action :informerCommentviolatorComment actionMap 中各個 action 增加 allowedIdentity 屬性,以標示該 action 可以由 fscinformerviolator 執行

舉報人 與 違規人 回應條件如下:

已知BUG: 舉報人回應後,前端的 violationCasesinformer 資料被清空,尚不清楚為何 重新載入違規案件內容頁面後會正常顯示 相關 code 在 publications 下的 violationCaseDetail