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();

View File

@@ -874,7 +874,7 @@
<do_search>1</do_search>
<enable_admin_only>0</enable_admin_only>
<enable_class>OAuthClient</enable_class>
<enable_action>UR_ACTION_READ</enable_action>
<enable_action>UR_ACTION_MODIFY</enable_action>
</menu>
</menus>
<user_rights>