feat(dashboard): reading whispers is its own permission

chat_dms (GM 8) reads whispers; chat_private is now team and guild chat only.
Adds chat_flag and chat_flag_review (GM 3). Both can be granted per account or
character with the permission grants.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Aaron Kimbrell
2026-09-29 18:22:32 -05:00
parent ffeb742c82
commit 8e440d4928
5 changed files with 11 additions and 1 deletions

View File

@@ -383,6 +383,7 @@ namespace {
IChatLog::ChatQuery query;
query.search = *word;
query.includePrivate = Can(context, "chat_private");
query.includeWhispers = Can(context, "chat_dms");
query.blockedOnly = allowed;
query.newestFirst = true;
query.limit = CHECK_MESSAGES;