diff --git a/agenda-connectors-webapp/src/main/webapp/vue-app/agenda-connectors/google-connector/agendaGoogleConnector.js b/agenda-connectors-webapp/src/main/webapp/vue-app/agenda-connectors/google-connector/agendaGoogleConnector.js index a0f6cdc0..0490da3a 100644 --- a/agenda-connectors-webapp/src/main/webapp/vue-app/agenda-connectors/google-connector/agendaGoogleConnector.js +++ b/agenda-connectors-webapp/src/main/webapp/vue-app/agenda-connectors/google-connector/agendaGoogleConnector.js @@ -336,6 +336,7 @@ function checkUserStatus(connector) { getStoredToken().then(token => { if (connector.user && token?.access_token) { connector.isSignedIn = true; + connector.canPush = connector.cientOauth.hasGrantedAllScopes(token, connector.SCOPE_WRITE); } }); }