From fae19d94cde979727bc3f73da7436f10b9ced76e Mon Sep 17 00:00:00 2001 From: "David J. Yu" <87633683+ddjnw1yu@users.noreply.github.com> Date: Mon, 23 Sep 2024 13:49:02 +1200 Subject: [PATCH] Check if user in annotation team --- src/components/ScaffoldVuer.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/ScaffoldVuer.vue b/src/components/ScaffoldVuer.vue index a60fc5f..48ff70f 100644 --- a/src/components/ScaffoldVuer.vue +++ b/src/components/ScaffoldVuer.vue @@ -1893,7 +1893,7 @@ export default { } this.userInformation = undefined; this.annotator.authenticate(this.userToken).then((userData) => { - if (userData.name && userData.email) { + if (userData.name && userData.email && userData.canUpdate) { this.userInformation = userData; //Only draw annotations stored in the server on initial authentication if (!authenticated) {