N°5102 - Allow to send emails using GSuite SMTP and OAuth - Access rights

This commit is contained in:
Eric Espie
2022-07-07 17:57:24 +02:00
parent 24d19cd8d6
commit 1a225bf55b
2 changed files with 2 additions and 3 deletions

View File

@@ -17,8 +17,7 @@ if (version_compare(ITOP_DESIGN_LATEST_VERSION , '3.0') >= 0) {
}
$oUpdateController = new AjaxOauthClientController($sTemplates, 'itop-oauth-client');
$oUpdateController->AllowOnlyAdmin();
$oUpdateController->SetDefaultOperation('CreateMailbox');
$oUpdateController->SetMenuId('OAuthClient');
$oUpdateController->HandleOperation();