Wednesday, October 28, 2015

AX R3 - Access Denied: MCRInventSearchController

The following is taken from http://www.axdeveloperconnection.it/webapp/ (BY LANE | MONDAY, JULY 14, 2014 ( 1 YEAR 3 MONTHS ) before it went down. All credit goes to the original creator.

During our validation phase of the AX R3 upgrade project, we found some issues regarding security for our product configuration department staff.  This is likely due to developing highly customized roles for our users, to keep licensing costs low.  Even so, we expected most new menu items to go in to existing privileges for the majority of users.  In any case, you may run in to this error message:

If you trace this, you'll want to start at the EcoResProductTranslation table, update method.  In there, you'll see a static call to MCRInventSearch::updateFromProduct().

You'll need to give access to the highlighted class and method as a ServerMethod on either a privilege, duty, or role so that users can change the product names.  Given, that the Trade Item Search configuration key is enabled.

E.g.

No comments:

Post a Comment