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

@@ -14,7 +14,7 @@
"it-IT": 100,
"it": 1,
"ja": 100,
"ko": 58,
"ko": 57,
"pl": 100,
"pt-BR": 100,
"ru": 100,

View File

@@ -7079,6 +7079,10 @@ export function useAFFiNEI18N(): {
* `This member does not have access to this doc, they are not notified.`
*/
["com.affine.editor.at-menu.member-not-notified-message"](): string;
/**
* `Invited and notified`
*/
["com.affine.editor.at-menu.invited-and-notified"](): string;
/**
* `Access needed`
*/

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",