fix(editor): update doc role instead of workspace role when invite in mention panel (#11588)

Close [BS-3048: mention 时检测的是文档权限不是 workspace 权限](https://linear.app/affine-design/issue/BS-3048/mention-时检测的是文档权限不是-workspace-权限)
This commit is contained in:
Flrande
2025-04-10 05:52:38 +00:00
parent 0302bd43cb
commit 0ce5a9544b
5 changed files with 52 additions and 12 deletions

View File

@@ -1759,6 +1759,7 @@
"com.affine.editor.at-menu.mention-members": "Mention Members",
"com.affine.editor.at-menu.member-not-notified": "Member not notified",
"com.affine.editor.at-menu.member-not-notified-message": "This member does not have access to this doc, they are not notified.",
"com.affine.editor.at-menu.invited-and-notified": "Invited and notified",
"com.affine.editor.at-menu.access-needed": "Access needed",
"com.affine.editor.at-menu.access-needed-message": "{{username}} does not have access to this doc, do you want to invite and notify them?",
"com.affine.editor.bi-directional-link-panel.show": "Show",