Skip to content

Commit c996283

Browse files
committed
feat: new application scope for post mortem
1 parent a43a64b commit c996283

4 files changed

Lines changed: 10 additions & 4 deletions

File tree

flashduty/en/1. On-call/8. Integrations/8.3 IM integration/8.3.1 Feishu(Lark) Integration Guide.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,8 @@ Go to the **Permission Management** page and apply for the following permissions
8181

8282
- `im:chat`: Get and update group information
8383
- `im:message`: Get and send single chat and group messages
84-
- `contact:user.id:readonly`: Get user ID by phone number or email <span id="war-room-scope"></span>
84+
- `contact:user.id:readonly`: Get user ID by phone number or email
85+
- `im:message.group_msg`: Read group chat history (required for AI-generated post-mortem to access war room conversations) <span id="war-room-scope"></span>
8586

8687
![2025-09-17-19-59-38](https://docs-cdn.flashcat.cloud/images/png/61cb9fbc295e94b4d9acd7e44ac75e13.png)
8788

@@ -144,4 +145,4 @@ After completing the previous steps, in the **Enhanced Features** module of the
144145
> After exceeding API call limits, the Feishu/Lark application will not be able to push messages normally. It is recommended to use notification channels reasonably. See [Feishu/Lark official documentation](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/platform-updates-/custom-app-api-call-limit) for details.
145146
5. **Why is the war room feature not working as expected?**
146147
- Please check again whether you have configured the [required permissions](#war-room-scope) for the war room feature.
147-
- Please refer to the **FAQ** section of the Flashduty [War Room Introduction](https://docs.flashcat.cloud/en/flashduty/war-room?nav=01JCQ7A4N4WRWNXW8EWEHXCMF5).
148+
- Please refer to the **FAQ** section of the Flashduty [War Room Introduction](https://docs.flashcat.cloud/en/flashduty/war-room?nav=01JCQ7A4N4WRWNXW8EWEHXCMF5).

flashduty/en/1. On-call/8. Integrations/8.3 IM integration/8.3.4 Slack Integration Guide.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ By integrating the Slack third-party application, you can receive and respond to
2222

2323
After completing the previous steps, in the **Enhanced Features** module of the Flashduty integration configuration page, check **Enable War Room** to enable this feature without additional configuration.
2424

25+
To enable AI-generated post-mortem with war room chat history, the app requires additional `channels:history` permission. For existing Slack integrations, you need to manually re-authorize to grant this permission.
26+
2527
## 3. FAQ
2628

2729
---
@@ -52,4 +54,4 @@ After completing the previous steps, in the **Enhanced Features** module of the
5254
- If the error persists after retrying, please contact customer service to record and resolve new issues.
5355
9. **Why is the war room feature not working as expected?**
5456
- For previously authorized Slack IM integrations, you need to manually reauthorize Slack in the Flashduty integration configuration page to grant the application the additional permissions required for the war room feature.
55-
- Please refer to the **FAQ** section of the Flashduty [War Room Introduction](https://docs.flashcat.cloud/en/flashduty/war-room?nav=01JCQ7A4N4WRWNXW8EWEHXCMF5).
57+
- Please refer to the **FAQ** section of the Flashduty [War Room Introduction](https://docs.flashcat.cloud/en/flashduty/war-room?nav=01JCQ7A4N4WRWNXW8EWEHXCMF5).

flashduty/zh/1. On-call/5. 集成引导/8.3即时消息/8.3.1 飞书 Lark 集成指引.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,8 @@ url: "https://docs.flashcat.cloud/zh/flashduty/lark-integration-guide"
8787

8888
- `im:chat`:获取与更新群组信息
8989
- `im:message`:获取与发送单聊、群组消息
90-
- `contact:user.id:readonly`:通过手机号或邮箱获取用户 ID <span id="war-room-scope"></span>
90+
- `contact:user.id:readonly`:通过手机号或邮箱获取用户 ID
91+
- `im:message.group_msg`:读取群聊历史消息(AI 生成复盘报告需要读取作战室聊天记录) <span id="war-room-scope"></span>
9192

9293
![2025-09-18-10-55-14](https://docs-cdn.flashcat.cloud/images/png/d919be62107f6b9d0c662f440d620e61.png)
9394

flashduty/zh/1. On-call/5. 集成引导/8.3即时消息/8.3.4 Slack 集成指引.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ url: "https://docs.flashcat.cloud/zh/flashduty/slack-integration-guide"
2222

2323
完成先前步骤后,在 Flashduty 集成配置页面的 **增强功能** 模块,勾选 **开启作战室** 即可启用该功能,无需额外配置。
2424

25+
若需启用 AI 生成复盘报告(读取作战室聊天记录),应用需要额外的 `channels:history` 权限。对于已授权的 Slack 集成,您需要手动重新授权以获取该权限。
26+
2527
## 二、常见问题
2628

2729
---

0 commit comments

Comments
 (0)