fix v15
This commit is contained in:
+8
-3
@@ -58,7 +58,7 @@ pg_dump -Fc <dbname> > before-$(date +%F-%H%M).dump
|
||||
|---|---|---|---|
|
||||
| `reports` | 举报取证 / 待处理列表 / 全站统计 | 否 | 处置前看证据 |
|
||||
| `restrict` | 施加处置(L1–L4) | 是 | 停止分发、冻结发布、停用页面 |
|
||||
| `unrestrict` | 撤销全部生效中处置 | 是 | 解封、误操作回滚 |
|
||||
| `unrestrict` | 撤销全部生效中处置并发解除通知 | 是 | 解封、误操作回滚 |
|
||||
| `hide-public` | 批量把公开回答转为私密 | 是 | 清理存量挂人内容 |
|
||||
| `ban` | 永久封禁(删用户+内容) | 是(不可逆) | 严重违规账号 |
|
||||
| `restore` | 恢复已停用账号 | 是 | 用户申诉后恢复 |
|
||||
@@ -212,13 +212,18 @@ pg_dump -Fc <dbname> > before-$(date +%F-%H%M).dump
|
||||
|
||||
```bash
|
||||
./tamabox unrestrict --domain <domain>
|
||||
./tamabox unrestrict --email <email>
|
||||
./tamabox unrestrict --email <email> --no-notify
|
||||
```
|
||||
|
||||
- 把该用户**所有生效中**的处置写 `revoked_at`(保留记录,不删除,审计可追溯)。
|
||||
- 幂等:没有生效中处置时输出「没有生效中的处置,无需操作」。
|
||||
- 撤销后:页面/发布/分享卡立即恢复;`hide-public` 已经转为私密的内容**不会**自动变回公开,
|
||||
需要箱主自己逐条「设为公开」。
|
||||
- **会给箱主发一封「限制已解除」通知**(四语言,与处置通知同一模板,无申诉段),
|
||||
正文里明确写了「私密内容不会自动恢复」。`--no-notify` 可跳过。
|
||||
|
||||
⚠️ **到期自动解除不会发信**:那个判定是读表时比较 `expires_at`,没有定时任务。
|
||||
如果希望「到期也通知」,只能靠 `unrestrict` 手工解封,或将来加个调度器。
|
||||
|
||||
---
|
||||
|
||||
@@ -281,7 +286,7 @@ pg_dump -Fc <dbname> > before-$(date +%F-%H%M).dump
|
||||
若判断通知会导致其转移阵地、需要先静默收口,加 `--no-notify`。
|
||||
5. **清存量**:`hide-public --domain <domain> --only-reported`。
|
||||
6. **观察**:7 天内复发 → 升 L2/L3;双方互挂 → **两边同级别处理,不选边**。
|
||||
7. **收尾**:到期自动解除;需要提前解封用 `unrestrict`。
|
||||
7. **收尾**:到期自动解除(不发信);需要提前解封用 `unrestrict`(会给箱主发「已解除」通知)。
|
||||
8. **留痕**:`reports --domain <domain>` 的历史处置段落就是处置记录(谁、何时、级别、原因)。
|
||||
|
||||
判定「挂人」的三要件(同时成立才处理):
|
||||
|
||||
Reference in New Issue
Block a user