by SuiteCRM

Official SuiteCRM Outlook Plugin v4 has arrived - Compatible with the Outlook Web App or Outlook 2016+ connected to Office365 or Exchange Server 2016. A complete rebuild developed and maintained by SuiteCRM developers, the addon retains previous functionality while massively improves performance, reliability and stability!

Free 30 day trial
Try it Now

#6021 - V8 API regression in 7.15.2: new ModuleAccessChecker rejects singular module type "Email" with 400 Not Allowed

Open Bug? created by bayoonet Verified Purchase 2 weeks ago

After upgrading from 7.15.1 to 7.15.2, POST /Api/index.php/V8/module requests that create an Emails record with data.type "Email" (singular) now fail with HTTP 400 "The API user does not have access to this module" -- regardless of the API user's actual ACL rights. This worked in 7.15.1.

Cause: 7.15.2 adds a new file Api/V8/Helper/ModuleAccessChecker.php, called from Api/V8/Middleware/ParamsMiddleware.php, which strictly checks the JSON:API type against the real module list before processing the request. The real module is named "Emails" (plural), so any client sending "Email" (singular) is now rejected outright. This check did not exist before 7.15.2, so the singular/plural mismatch was previously harmless.

Please fix the plugin by adding the correct module name.

  1. suitecrm member avatar

    SuiteCRM Provider Affiliate

    2 weeks ago

    Hi bayoonet,

    Thanks for your report, we are aware of this issue and are looking to release a fix as soon as posssible. We'll message again once the release is available.

  2. suitecrm member avatar

    SuiteCRM Provider Affiliate

    2 weeks ago

    Hi bayoonet,

    We've released version 4.2.3 to fix this issue. Please let us know if the issue is resolved.

This case is public. Please leave out any sensitive information such as URLs, passwords, etc.
Saving Comment Saving Comment...
  • "It works very good. You should deactivate the contacts sync on the first run, because it sorts the contacts in the main folder and thus uploads duplic..." - Wieland

    Read More Reviews