Hi
We are using customly created roles. I need to allow entering new workers under Warehouse management\Setup\Work users\Worker, but the system does not allow to enter the password for the newly created workers and gives a message :
"The user does not have permission to reset passwords. Contact the administrator or warehouse manager to reset passwords."
As I can understand it is standard in AX that only System administrator, Warehouse manager role and warehouse user itself can reset the password.
Does anybody know how to add a new role to that list of roles allowing resetting password?
Thank you
*This post is locked for comments
This solution works!
Thank you, Elena!
Hi All
I hope it helps someone else, as I used quite a lot of time to find a solution ont his.
The roles that allow entering password are coded in the allowUserToChangePassword method on WHSWorker table.
So if you go to AOT, find the table WHSWorker and edit this method by either adding an extra role to that or by removing this limit completely, you will solve the problem.
looks like only System Administrator and Warehouse Manager Role can do this. Appreciate if anyone can suggest.
Have the same issue. WHResetUserPassword and DMFUserPassword Menu Items and WHSWorkerMaintain privilege were added to custom Security Role and still Reset Password is still disable
If adding the suggested security privilege to the custom role which you would like to use, then add that role to your user did not help, I would recommend to take a look at the form with an AX developer. Check the cross-references to see where that label is being used in code (possibly on that password form, or in the caller class for that, can be verified also in the Right click > Personalize form > Information tab).
It is possible to hard-code to validate specific roles against using an AX functionality in X++, which might be the case here as well (if the access is not related to another security role). A developer should be able to check it for you in an hour tops.
Hi Guy
Thanks for your suggestion. I did add this privilege but it doesn't solve the problem. I also tried to duplicate a standard AX Warehouse manager role and assign it to a user - this doesn't work either. Only the roles System administrator or Warehouse manager allows it at the moment.
There is a Privilege called 'Maintain user passwords', which the Warehouse manager has. It has a Permission to a display menu item called WHSResetUserPassword. Have you tried that?
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,151 Super User 2024 Season 2
Martin Dráb 229,963 Most Valuable Professional
nmaenpaa 101,156