只读查询不再要求同源操作意图,写操作仍需;前端改为直接消费已解包的 data。 调度集成测试按租户清理并要求一次性测试库,避免误清正式数据。
This commit is contained in:
@@ -77,7 +77,10 @@ func qaWeeklyMailSettings(w http.ResponseWriter, r *http.Request, c Config) {
|
||||
}
|
||||
|
||||
func qaWeeklyMailConfirm(w http.ResponseWriter, r *http.Request, c Config) {
|
||||
if !authorizeQAOps(w, r) || !authorizeQAIntent(w, r, "qa-weekly-mail") {
|
||||
if !authorizeQAOps(w, r) {
|
||||
return
|
||||
}
|
||||
if r.Method != http.MethodGet && !authorizeQAIntent(w, r, "qa-weekly-mail") {
|
||||
return
|
||||
}
|
||||
store, ok := c.QAWeeklyMail.(weeklyMailStore)
|
||||
|
||||
Reference in New Issue
Block a user