Skip to main content

Notifications

Microsoft Dynamics AX (Archived)

How to allow a user enter new workers under Warehouse management\Setup\Work users\Worker

Posted on by 90

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

  • Tendor Profile Picture
    Tendor 15 on at
    RE: How to allow a user enter new workers under Warehouse management\Setup\Work users\Worker

    This solution works!

    Thank you, Elena!

  • Elena Lya Profile Picture
    Elena Lya 90 on at
    RE: How to allow a user enter new workers under Warehouse management\Setup\Work users\Worker

    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.

  • M P Profile Picture
    M P 285 on at
    RE: How to allow a user enter new workers under Warehouse management\Setup\Work users\Worker

    looks like only System Administrator and Warehouse Manager Role can do this. Appreciate if anyone can suggest.

  • M P Profile Picture
    M P 285 on at
    RE: How to allow a user enter new workers under Warehouse management\Setup\Work users\Worker

    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

  • Suggested answer
    Vilmos Kintera Profile Picture
    Vilmos Kintera 46,149 on at
    RE: How to allow a user enter new workers under Warehouse management\Setup\Work users\Worker

    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.

  • Elena Lya Profile Picture
    Elena Lya 90 on at
    RE: How to allow a user enter new workers under Warehouse management\Setup\Work users\Worker

    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.

  • Guy Terry Profile Picture
    Guy Terry 28,616 Super User 2024 Season 2 on at
    RE: How to allow a user enter new workers under Warehouse management\Setup\Work users\Worker

    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?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

New! Quick response templatesâš¡

Save time with the new custom templates!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,151 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,963 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans