mirror of
https://github.com/gristlabs/grist-core.git
synced 2024-10-27 20:44:07 +00:00
(core) annotate guests of other docs correctly in UserManager dialog
Summary: This corrects the annotations of users who are not team members but are guests of other documents. Their annotation was previously blank, rather than showing as collaborators. Test Plan: added test Reviewers: georgegevoian Reviewed By: georgegevoian Differential Revision: https://phab.getgrist.com/D3178
This commit is contained in:
parent
258d3cbb89
commit
4164d89b84
@ -74,6 +74,7 @@ export class ShareAnnotator {
|
|||||||
.map(([k, ]) => normalizeEmail(k)));
|
.map(([k, ]) => normalizeEmail(k)));
|
||||||
for (const user of this._state.users) {
|
for (const user of this._state.users) {
|
||||||
if (removed.has(user.email)) { continue; }
|
if (removed.has(user.email)) { continue; }
|
||||||
|
if (!user.isMember && !user.access) { continue; }
|
||||||
annotations.users.set(user.email, makeAnnotation(user));
|
annotations.users.set(user.email, makeAnnotation(user));
|
||||||
}
|
}
|
||||||
const tweaks = new Set(
|
const tweaks = new Set(
|
||||||
|
Loading…
Reference in New Issue
Block a user